summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2016-08-02 22:38:33 +0000
committerSanjay Patel <spatel@rotateright.com>2016-08-02 22:38:33 +0000
commitab50a93888b20d11faa604d2a6760eb635cafb83 (patch)
tree8443d1c34e4d0684f90bc323abf222bf9bacafbc /llvm/lib/Transforms/InstCombine/InstCombineInternal.h
parentf981e30b45a88dda761100909940167648db42e6 (diff)
downloadbcm5719-llvm-ab50a93888b20d11faa604d2a6760eb635cafb83.tar.gz
bcm5719-llvm-ab50a93888b20d11faa604d2a6760eb635cafb83.zip
[InstCombine] replace dyn_casts with matches; NFCI
Clean-up before changing this to allow folds for vectors. llvm-svn: 277538
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineInternal.h')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstCombineInternal.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
index 894e9a06468..0763a0a8bfa 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
+++ b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
@@ -583,8 +583,7 @@ private:
Instruction *foldICmpWithCastAndCast(ICmpInst &ICI);
Instruction *foldICmpWithConstant(ICmpInst &ICI, Instruction *LHS,
ConstantInt *RHS);
- Instruction *foldICmpEqualityWithConstant(ICmpInst &ICI, Instruction *LHS,
- ConstantInt *RHS);
+ Instruction *foldICmpEqualityWithConstant(ICmpInst &ICI);
Instruction *foldICmpIntrinsicWithConstant(ICmpInst &ICI);
Instruction *OptAndOp(Instruction *Op, ConstantInt *OpRHS,
OpenPOWER on IntegriCloud