llvm-6502/lib/Transforms/InstCombine
Chris Lattner a958cbfe36 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%.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93200 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-11 22:45:25 +00:00
..
CMakeLists.txt
InstCombine.h inline and remove the rest of commonIntCastTransforms. 2010-01-10 01:00:46 +00:00
InstCombineAddSub.cpp
InstCombineAndOrXor.cpp add one more bitfield optimization, allowing clang to generate 2010-01-11 06:55:24 +00:00
InstCombineCalls.cpp Remove unnecessary dyn_cast and add a comment. Part of a WIP. 2010-01-08 21:37:11 +00:00
InstCombineCasts.cpp Disable folding sext(trunc(x)) -> x (and other similar cast/cast cases) when the 2010-01-11 22:45:25 +00:00
InstCombineCompares.cpp tidy up some stuff duncan pointed out. 2010-01-08 17:48:19 +00:00
InstCombineLoadStoreAlloca.cpp
InstCombineMulDivRem.cpp
InstCombinePHI.cpp
InstCombineSelect.cpp
InstCombineShifts.cpp change the preferred canonical form for a sign extension to be 2010-01-10 07:08:30 +00:00
InstCombineSimplifyDemanded.cpp
InstCombineVectorOps.cpp
InstCombineWorklist.h
InstructionCombining.cpp teach ComputeNumSignBits to look through PHI nodes. 2010-01-07 23:44:37 +00:00
Makefile forgot to svn add these. 2010-01-04 06:28:20 +00:00