mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-04 19:26:30 +00:00
Fix -Wmisleading-indentation gcc7 warning. NFCI.
llvm-svn: 356658
This commit is contained in:
parent
b5c44abcf5
commit
11d9f6f949
@ -1217,13 +1217,13 @@ bool llvm::canSinkOrHoistInst(Instruction &I, AAResults *AA, DominatorTree *DT,
|
||||
assert(!LI->isUnordered() && "Expected unordered load");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
auto *Source = MSSA->getSkipSelfWalker()->getClobberingMemoryAccess(SI);
|
||||
(*LicmMssaOptCounter)++;
|
||||
// If there are no clobbering Defs in the loop, store is safe to hoist.
|
||||
return MSSA->isLiveOnEntryDef(Source) ||
|
||||
!CurLoop->contains(Source->getBlock());
|
||||
auto *Source = MSSA->getSkipSelfWalker()->getClobberingMemoryAccess(SI);
|
||||
(*LicmMssaOptCounter)++;
|
||||
// If there are no clobbering Defs in the loop, store is safe to hoist.
|
||||
return MSSA->isLiveOnEntryDef(Source) ||
|
||||
!CurLoop->contains(Source->getBlock());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user