Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Commit some changes I had managed to lose last night while refactoring the ↵ | Evan Cheng | 2010-01-13 | 1 | -1/+6 |
| | | | | | | | | code. Avoid change use of PHI instructions because it's not legal to insert any instructions before them. This fixes PR6027. llvm-svn: 93335 | ||||
* | Add comment; refactor; avoid pulling in DT if it's not used. | Evan Cheng | 2010-01-13 | 1 | -79/+110 |
| | | | | llvm-svn: 93306 | ||||
* | Add a quick pass to optimize sign / zero extension instructions. For targets ↵ | Evan Cheng | 2010-01-13 | 1 | -0/+149 |
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 |