Skip to content
Commit 6649cdaa authored by Jakob Stoklund Olesen's avatar Jakob Stoklund Olesen
Browse files

Extract spill cost calculation to a new method, and use definePhysReg() to clear

out aliases when allocating. Clean up allocVirtReg().

Use calcSpillCost() to allow more aggressive hinting. Now the hint is always
taken unless blocked by a reserved register. This leads to more coalescing,
lower register pressure, and less spilling.

llvm-svn: 103939
parent f9c4225a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment