From dcac0dfca99cb1688f67c4a3d68245de3ee569ea Mon Sep 17 00:00:00 2001 From: Sanjay Patel Date: Tue, 23 Aug 2016 21:25:13 +0000 Subject: [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 --- llvm/lib/Transforms/InstCombine/InstCombineInternal.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'llvm/lib/Transforms/InstCombine/InstCombineInternal.h') 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, -- cgit v1.2.3