[all-commits] [llvm/llvm-project] 04eae3: [PowerPC] Another folow-up fix for 6c4b40def776
Nemanja Ivanovic via All-commits
all-commits at lists.llvm.org
Fri Apr 10 19:11:23 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 04eae396176ccebe359bbb47ca1458a6377bbc4f
https://github.com/llvm/llvm-project/commit/04eae396176ccebe359bbb47ca1458a6377bbc4f
Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
Date: 2020-04-10 (Fri, 10 Apr 2020)
Changed paths:
M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
M llvm/test/CodeGen/PowerPC/pcrel-call-linkage-leaf.ll
Log Message:
-----------
[PowerPC] Another folow-up fix for 6c4b40def776
There was another issue introduced by this commit that the OP
initially missed. Namely, for functions that are free to use
R2 as a callee-saved register, we emit a TOC expression based
on the address of the GEP label without emitting the GEP label.
Since we only emit such expressions for the large code model, this
issue only surfaced there.
I have confirmed that with this fix, the kernel build is successful
with target "all".
More information about the All-commits
mailing list