llvm-project
469702c5 - [LICM] Sink unused l-invariant loads in preheader. (#157559)

Commit
41 days ago
[LICM] Sink unused l-invariant loads in preheader. (#157559) Unused loop invariant loads were not sunk from the preheader to the exit block, increasing live range. This commit moves the sinkUnusedInvariant logic from indvarsimplify to LICM also adds functionality to sink unused load that's not clobbered by the loop body.
Author
Parents
Loading