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 | 0190fdba448c6580a724b37b019978ef84704584 (patch) | |
tree | 4812b6ee246b351651b5f96647d0e67dd48284dd /docs/ExtendingLLVM.html | |
parent | b903fc5c1b62ebf7f9339d63a623596be792ef00 (diff) | |
download | llvm-0190fdba448c6580a724b37b019978ef84704584.tar.gz llvm-0190fdba448c6580a724b37b019978ef84704584.tar.bz2 llvm-0190fdba448c6580a724b37b019978ef84704584.tar.xz |
Add note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12809 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/ExtendingLLVM.html')
-rw-r--r-- | docs/ExtendingLLVM.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/ExtendingLLVM.html b/docs/ExtendingLLVM.html index b4519cc7bc..cc872ab78b 100644 --- a/docs/ExtendingLLVM.html +++ b/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> |