diff options
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) |
