mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-26 07:29:55 +00:00
It's not necessary to check if Base is null here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65157 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
79fb3b434f
commit
f0baa6e9cb
@ -1548,8 +1548,7 @@ bool LoopStrengthReduce::ShouldUseFullStrengthReductionMode(
|
|||||||
// a register for their base, full strength-reduction will increase
|
// a register for their base, full strength-reduction will increase
|
||||||
// register pressure.
|
// register pressure.
|
||||||
for (unsigned i = 0, e = UsersToProcess.size(); i != e; ++i)
|
for (unsigned i = 0, e = UsersToProcess.size(); i != e; ++i)
|
||||||
if (!UsersToProcess[i].Base ||
|
if (UsersToProcess[i].Base->isZero())
|
||||||
UsersToProcess[i].Base->isZero())
|
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// Otherwise, go for it.
|
// Otherwise, go for it.
|
||||||
|
Loading…
Reference in New Issue
Block a user