diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2022-07-03 14:10:23 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2022-07-03 14:10:23 +0000 |
| commit | 145449b1e420787bb99721a429341fa6be3adfb6 (patch) | |
| tree | 1d56ae694a6de602e348dd80165cf881a36600ed /llvm/lib/Target/PowerPC/PPCMCInstLower.cpp | |
| parent | ecbca9f5fb7d7613d2b94982c4825eb0d33d6842 (diff) | |
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCMCInstLower.cpp')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCMCInstLower.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCMCInstLower.cpp b/llvm/lib/Target/PowerPC/PPCMCInstLower.cpp index 22c5b6c11289..976effb96adc 100644 --- a/llvm/lib/Target/PowerPC/PPCMCInstLower.cpp +++ b/llvm/lib/Target/PowerPC/PPCMCInstLower.cpp @@ -107,7 +107,7 @@ static MCOperand GetSymbolRef(const MachineOperand &MO, const MCSymbol *Symbol, if (Subtarget->isUsingPCRelativeCalls()) { if (MIOpcode == PPC::TAILB || MIOpcode == PPC::TAILB8 || MIOpcode == PPC::TCRETURNdi || MIOpcode == PPC::TCRETURNdi8 || - MIOpcode == PPC::BL8_NOTOC) { + MIOpcode == PPC::BL8_NOTOC || MIOpcode == PPC::BL8_NOTOC_RM) { RefKind = MCSymbolRefExpr::VK_PPC_NOTOC; } if (MO.getTargetFlags() == PPCII::MO_PCREL_OPT_FLAG) |
