From: Chris Lattner Date: Sat, 10 Apr 2004 06:56:53 +0000 (+0000) Subject: Add note X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=0190fdba448c6580a724b37b019978ef84704584;p=oota-llvm.git Add note git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12809 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/ExtendingLLVM.html b/docs/ExtendingLLVM.html index b4519cc7bc6..cc872ab78b8 100644 --- a/docs/ExtendingLLVM.html +++ b/docs/ExtendingLLVM.html @@ -99,6 +99,11 @@ function and then be turned into an instruction if warranted.

  • llvm/lib/VMCore/Function.cpp (Function::getIntrinsicID()): Identify the new intrinsic function, returning the enum for the intrinsic that you added.
  • + +
  • 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.
  • +
  • Test your intrinsic
  • llvm/test/Regression/*: add your test cases to the test suite.