From d24fdda8e94cf56fbd872150a597da66d17f2e74 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Fri, 7 Nov 2003 17:19:39 +0000 Subject: [PATCH] Declare FunctionPasses as such. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9767 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/Scalar.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index 032a98e4c82..99fac47ced8 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -101,7 +101,7 @@ bool DecomposeArrayRef(GetElementPtrInst* GEP); // examining the SSA value graph of the function, instead of doing slow // bit-vector computations. // -Pass *createGCSEPass(); +FunctionPass *createGCSEPass(); //===----------------------------------------------------------------------===// @@ -132,7 +132,7 @@ Pass *createInstructionCombiningPass(); // LICM - This pass is a simple natural loop based loop invariant code motion // pass. // -Pass *createLICMPass(); +FunctionPass *createLICMPass(); //===----------------------------------------------------------------------===// @@ -179,7 +179,7 @@ Pass *createPromoteMemoryToRegister(); // // For example: 4 + (x + 5) -> x + (4 + 5) // -Pass *createReassociatePass(); +FunctionPass *createReassociatePass(); //===----------------------------------------------------------------------===// //