summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SpillPlacement.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-09-01 17:18:50 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-09-01 17:18:50 +0000
commit6357fa2f0684781d711d92826f39aeadfccec7f6 (patch)
tree91ca3ae633de1a412a792682178034d1d9c476c5 /llvm/lib/CodeGen/SpillPlacement.h
parent4a69c2e6c59ae69d2409964e40214d617c106db2 (diff)
downloadbcm5719-llvm-6357fa2f0684781d711d92826f39aeadfccec7f6.tar.gz
bcm5719-llvm-6357fa2f0684781d711d92826f39aeadfccec7f6.zip
Prevent remat of partial register redefinitions.
An instruction that redefines only part of a larger register can never be rematerialized since the virtual register value depends on the old value in other parts of the register. This was fixed for the inline spiller in r138794. This patch fixes the problem for all register allocators, and includes a small test case. <rdar://problem/10032939> llvm-svn: 138944
Diffstat (limited to 'llvm/lib/CodeGen/SpillPlacement.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud