aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunctionPass.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-06-03 00:07:47 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-06-03 00:07:47 +0000
commit818e4df2b42b33a78642456c67a7f9308316a148 (patch)
tree72560f9faa34c8d9e38fd8329d84d9eb88e925b1 /llvm/lib/CodeGen/MachineFunctionPass.cpp
parent42c642cd24c48b5997d120ed93ba903ad7d866d8 (diff)
downloadllvm-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/MachineFunctionPass.cpp')
0 files changed, 0 insertions, 0 deletions