summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2016-09-07 22:33:03 +0000
committerSanjay Patel <spatel@rotateright.com>2016-09-07 22:33:03 +0000
commit9b40f983571ae1c0fe8dd83e698060538f5cc845 (patch)
tree1c7da3103f8a864eed8be66156d99871f8a6426a /llvm/lib/Transforms/InstCombine/InstCombineInternal.h
parentfe51c2f7b406f7b1f0e5a69218cc016877c87026 (diff)
downloadbcm5719-llvm-9b40f983571ae1c0fe8dd83e698060538f5cc845.tar.gz
bcm5719-llvm-9b40f983571ae1c0fe8dd83e698060538f5cc845.zip
[InstCombine] use m_APInt to allow icmp (and (sh X, Y), C2), C1 folds for splat constant vectors
llvm-svn: 280873
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineInternal.h')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstCombineInternal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
index 287ee4fddd5..c8825b821d8 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
+++ b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
@@ -582,7 +582,7 @@ private:
Instruction *foldICmpAndConstConst(ICmpInst &Cmp, BinaryOperator *And,
const APInt *C1);
Instruction *foldICmpAndShift(ICmpInst &Cmp, BinaryOperator *And,
- const APInt *C1);
+ const APInt *C1, const APInt *C2);
Instruction *foldICmpEqualityWithConstant(ICmpInst &ICI);
Instruction *foldICmpIntrinsicWithConstant(ICmpInst &ICI);
OpenPOWER on IntegriCloud