Evan Cheng 7da9ecf967 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93278 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-13 00:30:23 +00:00
..
2010-01-12 18:29:23 +00:00
2010-01-03 18:10:58 +00:00
2010-01-02 00:22:15 +00:00
2010-01-12 04:52:47 +00:00
2010-01-05 17:55:26 +00:00
2009-12-16 00:53:11 +00:00
2010-01-04 21:23:34 +00:00
2009-12-15 03:00:32 +00:00