Go to file
Chris Lattner fce448f856 Fold (sext (truncate x)) more aggressively, by avoiding creation of a
sextinreg if not needed.   This is useful in two cases: before legalize,
it avoids creating a sextinreg that will be trivially removed.  After legalize
if the target doesn't support sextinreg, the trunc/sext would not have been
removed before.

llvm-svn: 34621
2007-02-26 03:13:59 +00:00
llvm Fold (sext (truncate x)) more aggressively, by avoiding creation of a 2007-02-26 03:13:59 +00:00
stacker Adjust to CallInst::CallInst interface changes. 2007-02-19 05:05:07 +00:00