diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2007-04-01 07:44:52 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2007-04-01 07:44:52 +0000 |
| commit | 9ade28d26092438d0c6a1d0d5d65b2f3f151236a (patch) | |
| tree | e26dbeb447a8bf9acbde2f1d60c7435b0e86154c /llvm/docs/ExtendingLLVM.html | |
| parent | c3d87685adf4896ac7f4573d24c9e7cf4ad26247 (diff) | |
| download | bcm5719-llvm-9ade28d26092438d0c6a1d0d5d65b2f3f151236a.tar.gz bcm5719-llvm-9ade28d26092438d0c6a1d0d5d65b2f3f151236a.zip | |
Mention how to create overloaded intrinsics.
llvm-svn: 35549
Diffstat (limited to 'llvm/docs/ExtendingLLVM.html')
| -rw-r--r-- | llvm/docs/ExtendingLLVM.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/docs/ExtendingLLVM.html b/llvm/docs/ExtendingLLVM.html index 631a09bd6d6..baad89a6ae2 100644 --- a/llvm/docs/ExtendingLLVM.html +++ b/llvm/docs/ExtendingLLVM.html @@ -87,7 +87,10 @@ function and then be turned into an instruction if warranted.</p> <li><tt>llvm/include/llvm/Intrinsics*.td</tt>: Add an entry for your intrinsic. Describe its memory access characteristics - for optimization (this controls whether it will be DCE'd, CSE'd, etc).</li> + for optimization (this controls whether it will be DCE'd, CSE'd, etc). Note + that any intrinsic using the <tt>llvm_int_ty</tt> type for an argument will + be deemed by <tt>tblgen</tt> as overloaded and the corresponding suffix + will be required on the intrinsic's name.</li> <li><tt>llvm/lib/Analysis/ConstantFolding.cpp</tt>: If it is possible to constant fold your intrinsic, add support to it in the |

