================
@@ -1332,11 +1332,11 @@ MachineBasicBlock::SplitCriticalEdge(MachineBasicBlock 
*Succ,
     MachineRegisterInfo *MRI = &getParent()->getRegInfo();
     for (unsigned i = 0, e = MRI->getNumVirtRegs(); i != e; ++i) {
       Register Reg = Register::index2VirtReg(i);
-      if (PHISrcRegs.count(Reg) || !LIS->hasInterval(Reg))
----------------
nikic wrote:

Why can't we iterate over PHISrcRegs in the first place here (possibly after 
stabilizing it)?

https://github.com/llvm/llvm-project/pull/230375
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to