Followup to D96345, handle unary shuffles of binops (as well as binary shuffles) if we can merge the shuffle with inner operand shuffles.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I had a check on the tests, the changes should all be correct. LGTM.
| llvm/test/CodeGen/X86/haddsub-shuf.ll | ||
|---|---|---|
| 524 | Though it's not related to this change, but should it be vphaddd %xmm1, %xmm1, %xmm1? | |
| llvm/test/CodeGen/X86/haddsub-shuf.ll | ||
|---|---|---|
| 524 | It's correct. Sorry for the noise. | |
| llvm/test/CodeGen/X86/haddsub-shuf.ll | ||
|---|---|---|
| 524 | No worries - thanks for the review! | |
Though it's not related to this change, but should it be vphaddd %xmm1, %xmm1, %xmm1?