Adding an intrinsic is simpler still.
authorChris Lattner <sabre@nondot.org>
Thu, 9 Mar 2006 22:38:42 +0000 (22:38 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 9 Mar 2006 22:38:42 +0000 (22:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26674 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ExtendingLLVM.html

index d2f358e6137abf0dd517110344214bcd607a0c28..008eb0a312f482b76f1491ed0f6fb7cee00f3f61 100644 (file)
@@ -92,10 +92,6 @@ function and then be turned into an instruction if warranted.</p>
     constant fold your intrinsic, add support to it in the 
     <tt>canConstantFoldCallTo</tt> and <tt>ConstantFoldCall</tt> functions.</li>
 
-<li><tt>llvm/lib/Transforms/Utils/Local.cpp</tt>: If your intrinsic has no side-
-    effects, add it to the list of intrinsics in the 
-    <tt>isInstructionTriviallyDead</tt> function.</li>
-
 <li><tt>llvm/test/Regression/*</tt>: Add test cases for your test cases to the 
     test suite</li>
 </ol>