mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-14 23:50:50 +00:00
It's not necessary to check if Base is null here.
llvm-svn: 65157
This commit is contained in:
parent
c40c3e28f7
commit
33c5714553
@ -1548,8 +1548,7 @@ bool LoopStrengthReduce::ShouldUseFullStrengthReductionMode(
|
||||
// a register for their base, full strength-reduction will increase
|
||||
// register pressure.
|
||||
for (unsigned i = 0, e = UsersToProcess.size(); i != e; ++i)
|
||||
if (!UsersToProcess[i].Base ||
|
||||
UsersToProcess[i].Base->isZero())
|
||||
if (UsersToProcess[i].Base->isZero())
|
||||
return false;
|
||||
|
||||
// Otherwise, go for it.
|
||||
|
Loading…
x
Reference in New Issue
Block a user