From: Chris Lattner Date: Thu, 9 Mar 2006 22:32:16 +0000 (+0000) Subject: Simpler still X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=06383e948f61be77544ca848e4392ff4482deba7;p=oota-llvm.git Simpler still git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26671 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/ExtendingLLVM.html b/docs/ExtendingLLVM.html index 0d90fc1c081..d2f358e6137 100644 --- a/docs/ExtendingLLVM.html +++ b/docs/ExtendingLLVM.html @@ -88,10 +88,6 @@ function and then be turned into an instruction if warranted.

  • llvm/include/llvm/Intrinsics.td: Add an entry for your intrinsic.
  • -
  • llvm/lib/Analysis/BasicAliasAnalysis.cpp: If the new intrinsic does - not access memory or does not write to memory, add it to the relevant list - of functions.
  • -
  • llvm/lib/Analysis/ConstantFolding.cpp: If it is possible to constant fold your intrinsic, add support to it in the canConstantFoldCallTo and ConstantFoldCall functions.