diff options
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-09-01 17:18:50 +0000 | 
|---|---|---|
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-09-01 17:18:50 +0000 | 
| commit | 6357fa2f0684781d711d92826f39aeadfccec7f6 (patch) | |
| tree | 91ca3ae633de1a412a792682178034d1d9c476c5 /llvm/lib/CodeGen/MachineLoopRanges.cpp | |
| parent | 4a69c2e6c59ae69d2409964e40214d617c106db2 (diff) | |
| download | bcm5719-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/MachineLoopRanges.cpp')
0 files changed, 0 insertions, 0 deletions

