commit | beaec29d4ad3d0b29fa966d36b18d4dfcd9cd8bf | [log] [tgz] |
---|---|---|
author | David Majnemer <david.majnemer@gmail.com> | Fri Dec 30 00:28:58 2016 +0000 |
committer | David Majnemer <david.majnemer@gmail.com> | Fri Dec 30 00:28:58 2016 +0000 |
tree | 2c8134a9fe7d3b5d44bd38a830f300a82d083ead | |
parent | 54223aed57cee8e86e079d66ddeeeeac9e4b6c08 [diff] |
[InstCombine] More thoroughly canonicalize the position of zexts We correctly canonicalized (add (sext x), (sext y)) to (sext (add x, y)) where possible. However, we didn't perform the same canonicalization for zexts or for muls. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290733 91177308-0d34-0410-b5e6-96231b3b80d8