aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Transforms/Scalar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h
index 032a98e4c8..99fac47ced 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();
//===----------------------------------------------------------------------===//
//