aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorZaara Syeda <syzaara@ca.ibm.com>2018-11-09 16:36:24 +0000
committerZaara Syeda <syzaara@ca.ibm.com>2018-11-09 16:36:24 +0000
commit5c179bf14b913fd8a435d02dd3e904d4fd1da6fa (patch)
tree1666662bc4550bea6e10909e3a96aba0805b9ea2 /clang/lib/CodeGen/CodeGenModule.cpp
parentd2ee4c6ddb065ef74d7e7e6aee7a3f8ada88ae7e (diff)
downloadllvm-5c179bf14b913fd8a435d02dd3e904d4fd1da6fa.zip
llvm-5c179bf14b913fd8a435d02dd3e904d4fd1da6fa.tar.gz
llvm-5c179bf14b913fd8a435d02dd3e904d4fd1da6fa.tar.bz2
[Power9] Allow gpr callee saved spills in prologue to vectors registers
Currently in llvm, CalleeSavedInfo can only assign a callee saved register to stack frame index to be spilled in the prologue. We would like to enable spilling gprs to vector registers. This patch adds the capability to spill to other registers aside from just the stack. It also adds the changes for power9 to spill gprs to volatile vector registers when they are available. This happens only for leaf functions when using the option -ppc-enable-pe-vector-spills. Differential Revision: https://reviews.llvm.org/D39386 llvm-svn: 346512
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions