The BL8_NOTOC_RM instruction was incorrectly producing a relocation that reqired
a TOC restore after the call. This patch fixes that issue and the notoc
relocation is now used.
Details
Details
- Reviewers
lei nemanjai jsji - Group Reviewers
Restricted Project - Commits
- rG2c25c65cdce2: [PowerPC] The BL8_NOTOC_RM instruction needs to produce a notoc relocation.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp | ||
---|---|---|
53 | 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? |
Comment Actions
LGTM as long as we have followup patch to prevent similar things happen again. Thanks.
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?