summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2016-08-24 23:03:36 +0000
committerSanjay Patel <spatel@rotateright.com>2016-08-24 23:03:36 +0000
commit165541490331d88e805bcd3f4f737d9400c04b70 (patch)
tree3d142ecfa6b9b4cdc956977d7b582a86850515df /llvm/lib/Transforms/InstCombine/InstCombineInternal.h
parentd7f9c3564a76fe827cce4f8d9849b001b9b915f6 (diff)
downloadbcm5719-llvm-165541490331d88e805bcd3f4f737d9400c04b70.tar.gz
bcm5719-llvm-165541490331d88e805bcd3f4f737d9400c04b70.zip
[InstCombine] move foldICmpDivConstConst() contents to foldICmpDivConstant(); NFCI
There was no logic in foldICmpDivConstant, so no need for a separate function. The code is directly copy/pasted, so further cleanups to follow. llvm-svn: 279685
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 8f2a7f45dc8..32e0bdd3da4 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
+++ b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
@@ -548,8 +548,6 @@ private:
ConstantInt *AndCst = nullptr);
Instruction *foldFCmpIntToFPConst(FCmpInst &I, Instruction *LHSI,
Constant *RHSC);
- Instruction *foldICmpDivConstConst(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