[all-commits] [llvm/llvm-project] 2c25c6: [PowerPC] The BL8_NOTOC_RM instruction needs to pr...
stefanp-ibm via All-commits
all-commits at lists.llvm.org
Wed Mar 23 17:01:18 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2c25c65cdce296d985fa2b6443ca73f42ce9c994
https://github.com/llvm/llvm-project/commit/2c25c65cdce296d985fa2b6443ca73f42ce9c994
Author: Stefan Pintilie <stefanp at ca.ibm.com>
Date: 2022-03-23 (Wed, 23 Mar 2022)
Changed paths:
M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp
M llvm/lib/Target/PowerPC/PPCMCInstLower.cpp
A llvm/test/CodeGen/PowerPC/ppc64-notoc-rm-relocation.ll
Log Message:
-----------
[PowerPC] The BL8_NOTOC_RM instruction needs to produce a notoc relocation.
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.
Reviewed By: jsji
Differential Revision: https://reviews.llvm.org/D122012
More information about the All-commits
mailing list