commit | fd837765bd0c9ed7b39c1e63538993e570891122 | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Fri Sep 14 22:23:35 2018 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Fri Sep 14 22:23:35 2018 +0000 |
tree | f7338347b0453e2fc6639ebeccb036963e71c385 | |
parent | 3d8fe264be4310cd8db0d3706f52c5ad33cfda6e [diff] |
[InstCombine] refactor mul narrowing folds; NFCI Similar to rL342278: The test diffs are all cosmetic due to the change in value naming, but I'm including that to show that the new code does perform these folds rather than something else in instcombine. D52075 should be able to use this code too rather than duplicating all of the logic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@342292 91177308-0d34-0410-b5e6-96231b3b80d8