aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-07-27 17:43:21 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-07-27 17:43:21 +0000
commit96d4bf7aee0c6ce915e6eb77065df388f374fafb (patch)
tree5258e872598d91c67d3d0dfb9dcb679d428674d4 /include/llvm/Transforms
parentc91bc304366399fab9eecd338725ee90f5519778 (diff)
downloadexternal_llvm-96d4bf7aee0c6ce915e6eb77065df388f374fafb.zip
external_llvm-96d4bf7aee0c6ce915e6eb77065df388f374fafb.tar.gz
external_llvm-96d4bf7aee0c6ce915e6eb77065df388f374fafb.tar.bz2
Make the create...() functions for some of these passes return a FunctionPass *.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15276 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r--include/llvm/Transforms/Scalar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h
index 5d25655..238179c 100644
--- a/include/llvm/Transforms/Scalar.h
+++ b/include/llvm/Transforms/Scalar.h
@@ -61,7 +61,7 @@ Pass *createDeadInstEliminationPass();
// their other instructions become dead, to eliminate chains of dead
// computations.
//
-Pass *createDeadCodeEliminationPass();
+FunctionPass *createDeadCodeEliminationPass();
//===----------------------------------------------------------------------===//
//
@@ -132,7 +132,7 @@ Pass *createIndVarSimplifyPass();
// into:
// %Z = add int 2, %X
//
-Pass *createInstructionCombiningPass();
+FunctionPass *createInstructionCombiningPass();
//===----------------------------------------------------------------------===//