summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombine.h
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-04-14 07:02:57 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-04-14 07:02:57 +0000
commit26afa982ec165a4abd0b35790e1a69a8ee2c2a07 (patch)
tree2a2892125b0477651f05d6b5c1dd3976bc73502e /llvm/lib/Transforms/InstCombine/InstCombine.h
parent1cc9023e7ff9abc8e989a2acac59203d0d564b5a (diff)
downloadbcm5719-llvm-26afa982ec165a4abd0b35790e1a69a8ee2c2a07.tar.gz
bcm5719-llvm-26afa982ec165a4abd0b35790e1a69a8ee2c2a07.zip
Revert r206045, "Fix shift by constants for vector."
It broke some builders, at least, i686. llvm-svn: 206153
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombine.h')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstCombine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombine.h b/llvm/lib/Transforms/InstCombine/InstCombine.h
index 4ee2f59c174..822e146ac46 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombine.h
+++ b/llvm/lib/Transforms/InstCombine/InstCombine.h
@@ -171,7 +171,7 @@ public:
ICmpInst::Predicate Pred);
Instruction *FoldGEPICmp(GEPOperator *GEPLHS, Value *RHS,
ICmpInst::Predicate Cond, Instruction &I);
- Instruction *FoldShiftByConstant(Value *Op0, Constant *Op1,
+ Instruction *FoldShiftByConstant(Value *Op0, ConstantInt *Op1,
BinaryOperator &I);
Instruction *commonCastTransforms(CastInst &CI);
Instruction *commonPointerCastTransforms(CastInst &CI);
OpenPOWER on IntegriCloud