commit | 057fdd87c110a01b8e9fc014bff5a4f95b25d682 | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Wed Oct 19 16:15:30 2016 +0000 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Wed Oct 19 16:15:30 2016 +0000 |
tree | e087c210304bd49d1d96baadca5128c75ccb4bab | |
parent | f02821bc980c269c30e7f6e02ed03dfcabb3bd39 [diff] |
[DAGCombiner] Add general constant vector support to (shl (sra x, c1), c1) -> (and x, (shl -1, c1)) We already supported scalar constant / splatted constant vector - now accepts any (non opaque) constant scalar / vector git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284608 91177308-0d34-0410-b5e6-96231b3b80d8