commit | 6dc868581b20380802e6a011de8dd9766790cf7a | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Apr 15 05:40:59 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Apr 15 05:40:59 2010 +0000 |
tree | 2ef2b13ce6f4a84ece6070c2f97bc29d0ed66000 | |
parent | efcddc33256512a08d7182783e2262da27f27cdd [diff] |
teach codegen to turn trunc(zextload) into load when possible. This doesn't occur much at all, it only seems to formed in the case when the trunc optimization kicks in due to phase ordering. In that case it is saves a few bytes on x86-32. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101350 91177308-0d34-0410-b5e6-96231b3b80d8