diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2020-06-16 13:30:40 -0400 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2020-06-16 13:48:10 -0400 |
| commit | ed67f5e7ab59d378bb09153a0df132333c43c9cb (patch) | |
| tree | 4d21c5941dfa14675ed45acdc5eb51a9e3f33f19 /lldb/test/Shell/ScriptInterpreter/Python | |
| parent | 12b01ab7fa10939d67ac7cb2da1d3ca8a41b5fcd (diff) | |
| download | llvm-ed67f5e7ab59d378bb09153a0df132333c43c9cb.zip llvm-ed67f5e7ab59d378bb09153a0df132333c43c9cb.tar.gz llvm-ed67f5e7ab59d378bb09153a0df132333c43c9cb.tar.bz2 | |
[VectorCombine] scalarize compares with insertelement operand(s)
Generalize scalarization (recently enhanced with D80885)
to allow compares as well as binops.
Similar to binops, we are avoiding scalarization of a loaded
value because that could avoid a register transfer in codegen.
This requires 1 extra predicate that I am aware of: we do not
want to scalarize the condition value of a vector select. That
might also invert a transform that we do in instcombine that
prefers a vector condition operand for a vector select.
I think this is the final step in solving PR37463:
https://bugs.llvm.org/show_bug.cgi?id=37463
Differential Revision: https://reviews.llvm.org/D81661
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
