llvm-project
e85d0f7b - [LoopFusion] Allow fusing adjacent loops with same-iteration scalar deps (#216242)

Commit
7 days ago
[LoopFusion] Allow fusing adjacent loops with same-iteration scalar deps (#216242) The scalar dependence branch rejected all non-invariant flow deps, while the array branch already accepted EQ-only direction vectors. Treat same-iteration scalar flow/anti patterns as safe to fuse when the dependence direction has no GT/LT component, matching the array logic. Extra tests are added in https://github.com/llvm/llvm-project/pull/216243
Author
Parents
Loading