[llvm] Fix SIFixSGPRCopies To Handle Physical Registers (PR #149859)

Patrick Simmons via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 22 09:21:27 PDT 2025


================
@@ -246,6 +246,22 @@ LiveVariables::FindLastPartialDef(Register Reg,
   return LastDef;
 }
 
+static void fixupLiveIns(MachineInstr &MI, MCPhysReg SubReg) {
----------------
linuxrocks123 wrote:

This code was necessary to get the added testcase to pass; otherwise it would crash in LiveVariables.

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


More information about the llvm-commits mailing list