[llvm] r300912 - [InstCombine] function names start with lower-case letter; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 20 15:37:01 PDT 2017
Author: spatel
Date: Thu Apr 20 17:37:01 2017
New Revision: 300912
URL: http://llvm.org/viewvc/llvm-project?rev=300912&view=rev
Log:
[InstCombine] function names start with lower-case letter; NFC
Forgot to make this fix with the signature change in r300911.
Modified:
llvm/trunk/lib/Transforms/InstCombine/InstCombineInternal.h
llvm/trunk/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
Modified: llvm/trunk/lib/Transforms/InstCombine/InstCombineInternal.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/InstCombineInternal.h?rev=300912&r1=300911&r2=300912&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/InstCombineInternal.h (original)
+++ llvm/trunk/lib/Transforms/InstCombine/InstCombineInternal.h Thu Apr 20 17:37:01 2017
@@ -551,7 +551,7 @@ private:
unsigned Depth, Instruction *CxtI);
/// Helper routine of SimplifyDemandedUseBits. It tries to simplify demanded
/// bit for "r1 = shr x, c1; r2 = shl r1, c2" instruction sequence.
- Value *SimplifyShrShlDemandedBits(
+ Value *simplifyShrShlDemandedBits(
Instruction *Shr, const APInt &ShrOp1, Instruction *Shl,
const APInt &ShlOp1, const APInt &DemandedMask, APInt &KnownZero,
APInt &KnownOne);
Modified: llvm/trunk/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp?rev=300912&r1=300911&r2=300912&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp (original)
+++ llvm/trunk/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp Thu Apr 20 17:37:01 2017
@@ -475,7 +475,7 @@ Value *InstCombiner::SimplifyDemandedUse
const APInt *ShrAmt;
if (match(I->getOperand(0), m_Shr(m_Value(), m_APInt(ShrAmt)))) {
Instruction *Shr = cast<Instruction>(I->getOperand(0));
- if (Value *R = SimplifyShrShlDemandedBits(
+ if (Value *R = simplifyShrShlDemandedBits(
Shr, *ShrAmt, I, *SA, DemandedMask, KnownZero, KnownOne))
return R;
}
@@ -874,7 +874,7 @@ Value *InstCombiner::SimplifyMultipleUse
/// As with SimplifyDemandedUseBits, it returns NULL if the simplification was
/// not successful.
Value *
-InstCombiner::SimplifyShrShlDemandedBits(Instruction *Shr, const APInt &ShrOp1,
+InstCombiner::simplifyShrShlDemandedBits(Instruction *Shr, const APInt &ShrOp1,
Instruction *Shl, const APInt &ShlOp1,
const APInt &DemandedMask,
APInt &KnownZero, APInt &KnownOne) {
More information about the llvm-commits
mailing list