[PATCH] D122012: [PowerPC] The BL8_NOTOC_RM instruction needs to produce a notoc relocation.
Jinsong Ji via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 18 09:51:10 PDT 2022
jsji added inline comments.
================
Comment at: llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp:53
+ MI.getOpcode() == PPC::BL8_NOTOC_TLS ||
+ MI.getOpcode() == PPC::BL8_NOTOC_RM)
? (MCFixupKind)PPC::fixup_ppc_br24_notoc
----------------
Can we somehow set flag in td eg: set TSFlags in `IForm_notoc`, then use it for all NOTOC opcode, and check the flag in MC so that we won't miss if we add new variation based on BL8_NOTOC?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122012/new/
https://reviews.llvm.org/D122012
More information about the llvm-commits
mailing list