[PATCH] D126939: [SLP] Avoid converting undef to poison when gathering.

Harald van Dijk via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 3 21:44:43 PDT 2022


hvdijk added a comment.

The updates to the tests suggest that this doesn't just fix the broken cases, it generates worse code where the previously generated code was already correct: I'm seeing insertelements into a vector immediately followed by a shufflevector that discards the inserted element, where previously those elements were not set. Is there some way that we can avoid that?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126939



More information about the llvm-commits mailing list