[llvm] [LoopFusion] Fix sink instructions (PR #147501)
    Ryotaro Kasuga via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Jul 22 06:53:52 PDT 2025
    
    
  
================
@@ -1176,6 +1176,27 @@ struct LoopFuser {
     return true;
   }
 
+  // This function fixes sunk PHI nodes after fusion.
+  void fixPHINodes(SmallVector<Instruction *, 4> &SafeToSink,
----------------
kasuga-fj wrote:
> It is a private member function of struct `LoopFuser`.
Sorry, I misread the indentation...
https://github.com/llvm/llvm-project/pull/147501
    
    
More information about the llvm-commits
mailing list