Add a new prototype
authorChris Lattner <sabre@nondot.org>
Sun, 23 May 2004 21:16:13 +0000 (21:16 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 23 May 2004 21:16:13 +0000 (21:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13685 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/Scalar.h

index db84f7cb609d9b64e853f4e389a0db7bb61e83f1..56a4981151d4533cbe60376ef694c26d08b11f21 100644 (file)
@@ -279,12 +279,21 @@ FunctionPass *createLowerSelectPass(bool OnlyFP = false);
 // handling mechanisms.  Note that after this pass runs the CFG is not entirely
 // accurate (exceptional control flow edges are not correct anymore) so only
 // very simple things should be done after the lowerinvoke pass has run (like
-// generation of native code).  This should not be used as a general purpose "my
-// LLVM-to-LLVM pass doesn't support the invoke instruction yet" lowering pass.
+// generation of native code).  This should *NOT* be used as a general purpose
+// "my LLVM-to-LLVM pass doesn't support the invoke instruction yet" lowering
+// pass.
 //
 FunctionPass *createLowerInvokePass();
 extern const PassInfo *LowerInvokePassID;
 
+  
+//===----------------------------------------------------------------------===//
+/// createLowerGCPass - This function returns an instance of the "lowergc"
+/// pass, which lowers garbage collection intrinsics to normal LLVM code.
+///
+FunctionPass *createLowerGCPass();
+  
+
 //===----------------------------------------------------------------------===//
 //
 // These functions removes symbols from functions and modules.