summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lint/cpp_lint.py
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2013-03-17 04:43:44 +0000
committerHal Finkel <hfinkel@anl.gov>2013-03-17 04:43:44 +0000
commitfcc51d4ff165b800b0acd2dccecf49bf350f9475 (patch)
tree1f1a8e4487f1fc1fce2fbd92aed9a117353a538d /llvm/utils/lint/cpp_lint.py
parent57080382e6f2c5cd337b37fdb93c06665a995658 (diff)
downloadbcm5719-llvm-fcc51d4ff165b800b0acd2dccecf49bf350f9475.tar.gz
bcm5719-llvm-fcc51d4ff165b800b0acd2dccecf49bf350f9475.zip
Improve PPC VR (Altivec) register spilling
This change cleans up two issues with Altivec register spilling: 1. The spilling code was inefficient (using two instructions, and add and a load, when just one would do) 2. The code assumed that r0 would always be available (true for now, but this will change) The new code handles VR spilling just like GPR spills but forced into r+r mode. As a result, when any VR spills are present, we must now always allocate the register-scavenger spill slot. llvm-svn: 177231
Diffstat (limited to 'llvm/utils/lint/cpp_lint.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud