summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2016-08-23 21:25:13 +0000
committerSanjay Patel <spatel@rotateright.com>2016-08-23 21:25:13 +0000
commitdcac0dfca99cb1688f67c4a3d68245de3ee569ea (patch)
treedbea7d1a068d385a34a3190311ebcfa20f907b8d /llvm/lib/Transforms/InstCombine/InstCombineInternal.h
parent570dd009c376cce18dd7f9a894854c4d4bd51b30 (diff)
downloadbcm5719-llvm-dcac0dfca99cb1688f67c4a3d68245de3ee569ea.tar.gz
bcm5719-llvm-dcac0dfca99cb1688f67c4a3d68245de3ee569ea.zip
[InstCombine] move foldICmpShrConstConst() contents to foldICmpShrConst(); NFCI
There will only be 3 lines of code in foldICmpShrConst() when the cleanup is done, so it doesn't make much sense to have a separate function for a single fold. llvm-svn: 279575
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineInternal.h')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstCombineInternal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
index f3ee94a9784..8f2a7f45dc8 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
+++ b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
@@ -550,8 +550,6 @@ private:
Constant *RHSC);
Instruction *foldICmpDivConstConst(ICmpInst &ICI, BinaryOperator *DivI,
ConstantInt *DivRHS);
- Instruction *foldICmpShrConstConst(ICmpInst &ICI, BinaryOperator *DivI,
- ConstantInt *DivRHS);
Instruction *foldICmpCstShrConst(ICmpInst &I, Value *Op, Value *A,
ConstantInt *CI1, ConstantInt *CI2);
Instruction *foldICmpCstShlConst(ICmpInst &I, Value *Op, Value *A,
OpenPOWER on IntegriCloud