Implement Transforms/InstCombine/cast-load-gep.ll, which allows us to devirtualize
[oota-llvm.git] / lib / Transforms / Scalar / ConstantProp.cpp
index 2985ceba63810935f84941d61b46256616665197..a3fa4a9665d381fb02da06eb8e07128b4277483f 100644 (file)
@@ -42,7 +42,7 @@ namespace {
   RegisterOpt<ConstantPropagation> X("constprop","Simple constant propagation");
 }
 
-Pass *llvm::createConstantPropagationPass() {
+FunctionPass *llvm::createConstantPropagationPass() {
   return new ConstantPropagation();
 }