[PATCH] D108382: [X86] lowerShuffleAsDecomposedShuffleMerge(): if both inputs are broadcastable/identities, canonicalize broadcasts as such

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 19 10:56:32 PDT 2021


lebedev.ri updated this revision to Diff 367551.
lebedev.ri marked 3 inline comments as done.
lebedev.ri added a comment.

@RKSimon thank you for taking a look!
Hopefully addressed review notes.

Note that i'm not quite sure that this is the right way.
This paves road for D108253 <https://reviews.llvm.org/D108253> that fixes https://bugs.llvm.org/show_bug.cgi?id=50971


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D108382/new/

https://reviews.llvm.org/D108382

Files:
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/copy-low-subvec-elt-to-high-subvec-elt.ll
  llvm/test/CodeGen/X86/horizontal-sum.ll
  llvm/test/CodeGen/X86/oddshuffles.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108382.367551.patch
Type: text/x-patch
Size: 14602 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210819/19896765/attachment.bin>


More information about the llvm-commits mailing list