From bab838e76dce5874faee7d26fe9239df9dcd87e2 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 23 May 2004 21:16:13 +0000 Subject: Add a new prototype git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13685 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/Scalar.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'include/llvm/Transforms') diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index db84f7c..56a4981 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -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. -- cgit v1.1