diff options
author | Chris Lattner <sabre@nondot.org> | 2004-04-10 06:56:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-04-10 06:56:53 +0000 |
commit | 027ccc120077203cae52d8861f0bc78ff4b38fcd (patch) | |
tree | e4edc0ccbc39e0e292ad3806df00320987f59a93 /llvm/docs/ExtendingLLVM.html | |
parent | 4a1b03c773fa74c221fec74db0b92ce23dc30d94 (diff) | |
download | bcm5719-llvm-027ccc120077203cae52d8861f0bc78ff4b38fcd.tar.gz bcm5719-llvm-027ccc120077203cae52d8861f0bc78ff4b38fcd.zip |
Add note
llvm-svn: 12809
Diffstat (limited to 'llvm/docs/ExtendingLLVM.html')
-rw-r--r-- | llvm/docs/ExtendingLLVM.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/docs/ExtendingLLVM.html b/llvm/docs/ExtendingLLVM.html index b4519cc7bc6..cc872ab78b8 100644 --- a/llvm/docs/ExtendingLLVM.html +++ b/llvm/docs/ExtendingLLVM.html @@ -99,6 +99,11 @@ function and then be turned into an instruction if warranted.</p> <li><tt>llvm/lib/VMCore/Function.cpp (<tt>Function::getIntrinsicID()</tt>)</tt>: Identify the new intrinsic function, returning the enum for the intrinsic that you added.</li> + +<li><tt>llvm/lib/Analysis/BasicAliasAnalysis.cpp</tt>: If the new intrinsic does + not access memory, or does not write to memory, add it to the relevant list + of functions.</li> + <li>Test your intrinsic</li> <li><tt>llvm/test/Regression/*</tt>: add your test cases to the test suite.</li> </ol> |