commit | 46a30b98c29af57d5543dd9c3bdbc2c1ab6beaad | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Wed May 16 15:15:22 2018 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Wed May 16 15:15:22 2018 +0000 |
tree | 0d1d7a64978eb5b15d04b92d77150c5b21f7b4b8 | |
parent | f90a5e079ca84d429e67bd1e5dfff147fc25ca29 [diff] |
[InstCombine] allow more binop (shuffle X), C transforms The canonicalization was restricted to shuffle masks with a 1-to-1 mapping to the constant vector, but that disqualifies the common splat pattern. This is part of solving PR37463: https://bugs.llvm.org/show_bug.cgi?id=37463 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332479 91177308-0d34-0410-b5e6-96231b3b80d8