Files
llvm-project/llvm/lib/CodeGen/MachineLoopUtils.cpp
Stephen Chou 14656962c0 [MachinePipeliner] Fix crash during prolog peeling (#182189)
Fix crash during prolog peeling when loop preheader terminates with a
fallthrough conditional branch

The crash was happening due to the wrong preheader layout successor
being passed to `updateTerminator`; in general, the loop kernel will not
be the layout successor after prolog peeling. Fix this by passing the
right layout successor.
2026-02-24 12:34:22 -08:00

5.2 KiB