From 027ccc120077203cae52d8861f0bc78ff4b38fcd Mon Sep 17 00:00:00 2001
From: Chris Lattner
Date: Sat, 10 Apr 2004 06:56:53 +0000
Subject: [PATCH] Add note
llvm-svn: 12809
---
llvm/docs/ExtendingLLVM.html | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/llvm/docs/ExtendingLLVM.html b/llvm/docs/ExtendingLLVM.html
index b4519cc7bc6e..cc872ab78b88 100644
--- a/llvm/docs/ExtendingLLVM.html
+++ b/llvm/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.