File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -47,11 +47,13 @@ function and then be turned into an instruction if warranted.
4747
4848#. ``llvm/include/llvm/IR/Intrinsics*.td ``:
4949
50- Add an entry for your intrinsic. Describe its memory access characteristics
51- for optimization (this controls whether it will be DCE'd, CSE'd, etc). Note
52- that any intrinsic using one of the ``llvm_any*_ty `` types for an argument or
53- return type will be deemed by ``tblgen `` as overloaded and the corresponding
54- suffix will be required on the intrinsic's name.
50+ Add an entry for your intrinsic. Describe its memory access
51+ characteristics for optimization (this controls whether it will be
52+ DCE'd, CSE'd, etc). If any arguments need to be immediates, these
53+ must be indicated with the ImmArg property. Note that any intrinsic
54+ using one of the ``llvm_any*_ty `` types for an argument or return
55+ type will be deemed by ``tblgen `` as overloaded and the
56+ corresponding suffix will be required on the intrinsic's name.
5557
5658#. ``llvm/lib/Analysis/ConstantFolding.cpp ``:
5759
You can’t perform that action at this time.
0 commit comments