[llvm] [LoopFusion] Fix sink instructions (PR #147501)
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 21 04:05:46 PDT 2025
================
@@ -1176,6 +1176,27 @@ struct LoopFuser {
return true;
}
+ // This function fixes sunk PHI nodes after fusion.
+ void fixPHINodes(SmallVector<Instruction *, 4> &SafeToSink,
----------------
Meinersbur wrote:
```suggestion
static void fixPHINodes(SmallVector<Instruction *, 4> &SafeToSink,
```
https://github.com/llvm/llvm-project/pull/147501
More information about the llvm-commits
mailing list