[all-commits] [llvm/llvm-project] d7414f: [LoopFusion][NFC] Share fusion tail between guarde...
Madhur Amilkanthwar via All-commits
all-commits at lists.llvm.org
Wed Jun 24 00:43:16 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d7414ff58979052ee6f9979c96e54b565870ca18
https://github.com/llvm/llvm-project/commit/d7414ff58979052ee6f9979c96e54b565870ca18
Author: Madhur Amilkanthwar <madhura at nvidia.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M llvm/lib/Transforms/Scalar/LoopFuse.cpp
Log Message:
-----------
[LoopFusion][NFC] Share fusion tail between guarded and unguarded paths (#205492)
`performFusion()` and `fuseGuardedLoops()` carried two
character-for-character identical tails: header-PHI migration plus latch
rewiring, and the SCEV-forget / block-merge / latch-merge finalization.
Extract them into `rewireFusedHeaderPHIsAndLatches()` and
`finalizeFusedLoop()` and call both from each path.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list