There was an error while loading. Please reload this page.
1 parent a65cb63 commit 9306f4aCopy full SHA for 9306f4a
lib/Target/AArch64/AArch64InstrInfo.cpp
@@ -4626,7 +4626,7 @@ MachineBasicBlock::iterator AArch64InstrInfo::insertOutlinedCall(
4626
// Restore the link register.
4627
MachineInstr *LDRXpost = BuildMI(MF, DebugLoc(), get(AArch64::LDRXpost))
4628
.addReg(AArch64::SP, RegState::Define)
4629
- .addReg(AArch64::LR)
+ .addReg(AArch64::LR, RegState::Define)
4630
.addReg(AArch64::SP)
4631
.addImm(16);
4632
It = MBB.insert(It, LDRXpost);
0 commit comments