diff options
author | Sanjay Patel <spatel@rotateright.com> | 2016-09-07 22:33:03 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2016-09-07 22:33:03 +0000 |
commit | 9b40f983571ae1c0fe8dd83e698060538f5cc845 (patch) | |
tree | 1c7da3103f8a864eed8be66156d99871f8a6426a /llvm/lib/Transforms/InstCombine/InstCombineInternal.h | |
parent | fe51c2f7b406f7b1f0e5a69218cc016877c87026 (diff) | |
download | bcm5719-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.h | 2 |
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); |