diff options
author | Sanjay Patel <spatel@rotateright.com> | 2019-04-03 13:42:06 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2019-04-03 13:42:06 +0000 |
commit | 00dae6b22d2a573d83b77ca7d805e5c334ac3c30 (patch) | |
tree | e461f63343b50e74535eaf9d7f27be91012169e1 /lldb/packages/Python/lldbsuite/test/expression_command/context-object-objc/main.m | |
parent | f36b2534b23cc762d3e703802e143d04c4a8cd84 (diff) | |
download | bcm5719-llvm-00dae6b22d2a573d83b77ca7d805e5c334ac3c30.tar.gz bcm5719-llvm-00dae6b22d2a573d83b77ca7d805e5c334ac3c30.zip |
[DAGCombiner] loosen restrictions for moving shuffles after vector binop
There are 3 changes to make this correspond to the same transform in instcombine:
1. Remove the legality check - we can't create anything less legal than we started with.
2. Ease the use restriction, so we only bail out if both operands have >1 use.
3. Ease the use restriction for binops with a repeated operand (eg, mul x, x).
As discussed in D60150, there's a scalarization opportunity that will be made
easier by allowing this transform more generally.
llvm-svn: 357580
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/context-object-objc/main.m')
0 files changed, 0 insertions, 0 deletions