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.