Skip to content

Commit

Permalink
[InstCombine] function names start with lower-case letter; NFC
Browse files Browse the repository at this point in the history
Forgot to make this fix with the signature change in r300911.

llvm-svn: 300912
  • Loading branch information
rotateright committed Apr 20, 2017
1 parent c9485ca commit cc663b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion llvm/lib/Transforms/InstCombine/InstCombineInternal.h
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ class LLVM_LIBRARY_VISIBILITY InstCombiner
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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ Value *InstCombiner::SimplifyDemandedUseBits(Value *V, APInt DemandedMask,
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;
}
Expand Down Expand Up @@ -874,7 +874,7 @@ Value *InstCombiner::SimplifyMultipleUseDemandedBits(Instruction *I,
/// 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) {
Expand Down

0 comments on commit cc663b8

Please sign in to comment.