Evan Cheng 76db3bb18e Add a quick pass to optimize sign / zero extension instructions. For targets where the pre-extension values are available in the subreg of the result of the extension, replace the uses of the pre-extension value with the result + extract_subreg.
For now, this pass is fairly conservative. It only perform the replacement when both the pre- and post- extension values are used in the block. It will miss cases where the post-extension values are live, but not used.

llvm-svn: 93278
2010-01-13 00:30:23 +00:00
..
2009-11-03 23:52:08 +00:00
2009-11-03 23:52:08 +00:00
2010-01-07 00:51:04 +00:00
2009-11-03 23:52:08 +00:00
2009-07-08 21:57:46 +00:00