[all-commits] [llvm/llvm-project] 7fbaa8: [PowerPC] Fix VSX clobbers of CSR registers
nemanja-ibm via All-commits
all-commits at lists.llvm.org
Mon Nov 25 09:42:04 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 7fbaa8097ecc4309fec49db14fadac731ce53079
https://github.com/llvm/llvm-project/commit/7fbaa8097ecc4309fec49db14fadac731ce53079
Author: Nemanja Ivanovic <nemanjai at ca.ibm.com>
Date: 2019-11-25 (Mon, 25 Nov 2019)
Changed paths:
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/test/CodeGen/PowerPC/CSR-fit.ll
A llvm/test/CodeGen/PowerPC/inline-asm-vsx-clobbers.ll
Log Message:
-----------
[PowerPC] Fix VSX clobbers of CSR registers
If an inline asm statement clobbers a VSX register that overlaps with a
callee-saved Altivec register or FPR, we will not record the clobber and will
therefore violate the ABI. This is clearly a bug so this patch fixes it.
Differential revision: https://reviews.llvm.org/D68576
More information about the All-commits
mailing list