diff options
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/AArch64/AArch64InstrInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp index 4a68dff9d6e..e5324c601e5 100644 --- a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp +++ b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp @@ -4626,7 +4626,7 @@ MachineBasicBlock::iterator AArch64InstrInfo::insertOutlinedCall( // Restore the link register. MachineInstr *LDRXpost = BuildMI(MF, DebugLoc(), get(AArch64::LDRXpost)) .addReg(AArch64::SP, RegState::Define) - .addReg(AArch64::LR) + .addReg(AArch64::LR, RegState::Define) .addReg(AArch64::SP) .addImm(16); It = MBB.insert(It, LDRXpost); |

