mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-11 15:26:40 +00:00
[IRCE] Add better DEBUG diagnostic; NFC
NFC meaning IRCE should not _do_ anything different, but -debug-only=irce will be a little friendlier. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278616 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2c1c0b444f
commit
abf7d54189
@ -622,8 +622,10 @@ static bool CanBeSMin(ScalarEvolution &SE, const SCEV *S) {
|
||||
Optional<LoopStructure>
|
||||
LoopStructure::parseLoopStructure(ScalarEvolution &SE, BranchProbabilityInfo &BPI,
|
||||
Loop &L, const char *&FailureReason) {
|
||||
if (!L.isLoopSimplifyForm())
|
||||
if (!L.isLoopSimplifyForm()) {
|
||||
FailureReason = "loop not in LoopSimplify form";
|
||||
return None;
|
||||
}
|
||||
|
||||
BasicBlock *Latch = L.getLoopLatch();
|
||||
assert(Latch && "Simplified loops only have one latch!");
|
||||
|
Loading…
x
Reference in New Issue
Block a user