diff options
author | Sanjay Patel <spatel@rotateright.com> | 2016-07-21 17:15:49 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2016-07-21 17:15:49 +0000 |
commit | 1710e7cfa76f0dbf6f6572c7c84876dfaa0cbe33 (patch) | |
tree | d92c7dfd044415b7abf5610eb6cfde905b93a5fb /llvm/lib/Transforms/InstCombine/InstCombineInternal.h | |
parent | dd778ca6b5358c80b1d71be9474196314d538d45 (diff) | |
download | bcm5719-llvm-1710e7cfa76f0dbf6f6572c7c84876dfaa0cbe33.tar.gz bcm5719-llvm-1710e7cfa76f0dbf6f6572c7c84876dfaa0cbe33.zip |
[InstCombine] break up visitICmpInstWithInstAndIntCst(); NFCI
Making smaller pieces out of some of these ~1000 line functions should make
it easier to incrementally upgrade them to handle vector types.
llvm-svn: 276304
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineInternal.h')
-rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombineInternal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h index f199e1dc547..0c3138ff9fd 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h +++ b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h @@ -272,6 +272,8 @@ public: Instruction *visitICmpInstWithCastAndCast(ICmpInst &ICI); Instruction *visitICmpInstWithInstAndIntCst(ICmpInst &ICI, Instruction *LHS, ConstantInt *RHS); + Instruction *visitICmpEqualityWithConstant(ICmpInst &ICI, Instruction *LHS, + ConstantInt *RHS); Instruction *FoldICmpDivCst(ICmpInst &ICI, BinaryOperator *DivI, ConstantInt *DivRHS); Instruction *FoldICmpShrCst(ICmpInst &ICI, BinaryOperator *DivI, |