[llvm] [AArch64] Add check that prologue insertion doesn't clobber live regs. (PR #71826)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 22 06:04:43 PST 2023


================
@@ -1908,6 +1940,19 @@ void AArch64FrameLowering::emitPrologue(MachineFunction &MF,
     emitCalleeSavedGPRLocations(MBB, MBBI);
     emitCalleeSavedSVELocations(MBB, MBBI);
   }
+
+#ifndef NDEBUG
----------------
fhahn wrote:

Done, thanks! This also keeps the code nicely together

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


More information about the llvm-commits mailing list