Open Quuxplusone opened 4 years ago
Attached bbi-43598.ll
(300 bytes, text/plain): bbi-43598.ll reproducer
Some additional -debug printouts:
MERGING MOSTLY EMPTY BLOCKS - BEFORE:
land.rhs: ; preds = %entry
br label %land.end
land.end: ; preds = %land.rhs, %entry
ret void
AFTER:
land.end: ; preds = %entry, %entry
ret void
To merge:
land.end: ; preds = %entry
ret void
Merging: land.end into entry
I suppose CodeGenPrepare::eliminateMostlyEmptyBlock doesn't update BFI.
bbi-43598.ll
(300 bytes, text/plain)