Skip to content
Commit 818e4df2 authored by Jakob Stoklund Olesen's avatar Jakob Stoklund Olesen
Browse files

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
parent 42c642cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment