diff options
author | Sanjay Patel <spatel@rotateright.com> | 2017-04-20 22:37:01 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2017-04-20 22:37:01 +0000 |
commit | cc663b82fa6ec3c77d2cba38c9a86e611d0c4a74 (patch) | |
tree | 575664fd37b64472688ece3c28b6f5b84872d325 /llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp | |
parent | c9485ca895a2f45b9f6b55c26ea624da8c152c5d (diff) | |
download | bcm5719-llvm-cc663b82fa6ec3c77d2cba38c9a86e611d0c4a74.tar.gz bcm5719-llvm-cc663b82fa6ec3c77d2cba38c9a86e611d0c4a74.zip |
[InstCombine] function names start with lower-case letter; NFC
Forgot to make this fix with the signature change in r300911.
llvm-svn: 300912
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp')
-rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp b/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp index 899b5dfc575..b1bd5593f6f 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp @@ -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; } @@ -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) { |