mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 15:19:33 +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. llvm-svn: 278616
This commit is contained in:
parent
6d64ba19e3
commit
6489462769
@ -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…
Reference in New Issue
Block a user