[llvm] [X86][APX] Update live internals of physical registers too (PR #192595)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 17 23:01:15 PDT 2026


================
@@ -1110,6 +1110,8 @@ foldMemoryOperand(ArrayRef<std::pair<MachineInstr *, unsigned>> Ops,
     if (R.isVirtual()) {
       LiveInterval &LI = LIS.getInterval(R);
       LIS.shrinkToUses(&LI);
+    } else {
+      LIS.removeAllRegUnitsForPhysReg(R.asMCReg());
----------------
phoebewang wrote:

I think so, changed.

https://github.com/llvm/llvm-project/pull/192595


More information about the llvm-commits mailing list