[PATCH] D91393: WIP: Test case that exposes an SLP vectorization missed opportunity

Ryan Santhirarajan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 12 16:09:11 PST 2020


rsanthir.quic created this revision.
rsanthir.quic added reviewers: apazos, fhahn.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
rsanthir.quic requested review of this revision.

I have tried to produce a reduced testcase that shows the operand reordering issue, and was only able to reduce it to a 8-wide vectorization. In the added test when the following IR change is made, vectorization successfully occurs. The question is can SLP be made to recognize this and proceed on its own.


https://reviews.llvm.org/D91393

Files:
  llvm/test/Transforms/SLPVectorizer/AArch64/slp-reassociate-issue.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91393.304989.patch
Type: text/x-patch
Size: 19041 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201113/155fd047/attachment.bin>


More information about the llvm-commits mailing list