diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-06-03 00:07:47 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-06-03 00:07:47 +0000 |
commit | 818e4df2b42b33a78642456c67a7f9308316a148 (patch) | |
tree | 72560f9faa34c8d9e38fd8329d84d9eb88e925b1 /llvm/lib/CodeGen/MachineFunctionAnalysis.cpp | |
parent | 42c642cd24c48b5997d120ed93ba903ad7d866d8 (diff) | |
download | llvm-818e4df2b42b33a78642456c67a7f9308316a148.zip llvm-818e4df2b42b33a78642456c67a7f9308316a148.tar.gz llvm-818e4df2b42b33a78642456c67a7f9308316a148.tar.bz2 |
Use readsWritesVirtualRegister instead of counting uses and defs when inserting
spills and reloads.
This means that a partial define of a register causes a reload so the other
parts of the register are preserved.
The reload can be prevented by adding an <imp-def> operand for the full
register. This is already done by the coalescer and live interval analysis where
relevant.
llvm-svn: 105369
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions