mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-22 03:31:06 +00:00
Localizer - fix "variable used but never read" analyzer warning. NFCI.
Simplify the code by separating the modification of the Changed variable from returning it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372583 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fed25f49be
commit
6ec2ed215c
@ -220,5 +220,6 @@ bool Localizer::runOnMachineFunction(MachineFunction &MF) {
|
||||
LocalizedSetVecT LocalizedInstrs;
|
||||
|
||||
bool Changed = localizeInterBlock(MF, LocalizedInstrs);
|
||||
return Changed |= localizeIntraBlock(LocalizedInstrs);
|
||||
Changed |= localizeIntraBlock(LocalizedInstrs);
|
||||
return Changed;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user