diff options
author | Chris Lattner <sabre@nondot.org> | 2004-04-13 19:48:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-04-13 19:48:55 +0000 |
commit | cb5e795f1f0ab1aecf66813695b3531237da76b1 (patch) | |
tree | fd26d0198d140668998710a35aa48b688d4a56e5 /llvm/docs/ExtendingLLVM.html | |
parent | ff9362a8da0074636b5f269fd5085fd28081cf74 (diff) | |
download | bcm5719-llvm-cb5e795f1f0ab1aecf66813695b3531237da76b1.tar.gz bcm5719-llvm-cb5e795f1f0ab1aecf66813695b3531237da76b1.zip |
Add a note
llvm-svn: 12922
Diffstat (limited to 'llvm/docs/ExtendingLLVM.html')
-rw-r--r-- | llvm/docs/ExtendingLLVM.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/docs/ExtendingLLVM.html b/llvm/docs/ExtendingLLVM.html index cc872ab78b8..c6f27f094bd 100644 --- a/llvm/docs/ExtendingLLVM.html +++ b/llvm/docs/ExtendingLLVM.html @@ -104,6 +104,10 @@ function and then be turned into an instruction if warranted.</p> not access memory, or does not write to memory, add it to the relevant list of functions.</li> +<li><tt>llvm/lib/Transforms/Utils/Local.cpp</tt>: If it is possible to constant + propagate your intrinsic, add support to it in the + <tt>canConstantFoldCallTo</tt> and <tt>ConstantFoldCall</tt> functions.</li> + <li>Test your intrinsic</li> <li><tt>llvm/test/Regression/*</tt>: add your test cases to the test suite.</li> </ol> |