summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveStackAnalysis.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-11 22:45:25 +0000
committerChris Lattner <sabre@nondot.org>2010-01-11 22:45:25 +0000
commita6b1356cf98bddc2484d5f0ca8d6bc83af3ab12e (patch)
treebfcb7f064ae288b1bb5d7589010ce7b0576352fe /llvm/lib/CodeGen/LiveStackAnalysis.cpp
parent88f3eb898a0ace0ff161c52508bd33ffdfc75bf5 (diff)
downloadbcm5719-llvm-a6b1356cf98bddc2484d5f0ca8d6bc83af3ab12e.tar.gz
bcm5719-llvm-a6b1356cf98bddc2484d5f0ca8d6bc83af3ab12e.zip
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
Diffstat (limited to 'llvm/lib/CodeGen/LiveStackAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud