Skip to content
Commit a6b1356c authored by Chris Lattner's avatar Chris Lattner
Browse files

Disable folding sext(trunc(x)) -> x (and other similar cast/cast cases) when the

trunc has multiple uses.  Codegen is not able to coalesce the subreg case 
correctly and so this leads to higher register pressure and spilling (see PR5997).

This speeds up 256.bzip2 from 8.60 -> 8.04s on my machine, ~7%.

llvm-svn: 93200
parent 88f3eb89
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