================
@@ -15740,6 +15740,32 @@ void 
SITargetLowering::finalizeLowering(MachineFunction &MF) const {
     }
   }
 
+  // ISel inserts copy to regs for the successor PHIs
+  // at the BB end. We need to move the SI_WAVE_RECONVERGE right before the
----------------
arsenm wrote:

Can you avoid this by gluing the pseudo to the root node? Also, I think you can 
avoid a second walk over the function by doing this in 
EmitInstrWithCustomInserter 

https://github.com/llvm/llvm-project/pull/92809
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to