[PATCH] D107580: [VectorCombine] Support AND/UREM indices that require freezing.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 5 09:39:25 PDT 2021


fhahn created this revision.
fhahn added reviewers: spatel, lebedev.ri, efriedma, nlopes.
Herald added a subscriber: hiraditya.
fhahn requested review of this revision.
Herald added a project: LLVM.

38b098be6605 <https://reviews.llvm.org/rG38b098be6605494cc7308ea9b08f920c4c3fe4ce> limited scalarization to indices that are known non-poison.
For certain patterns that restrict the range of an index, we can insert
a freeze of the original value, to prevent propagation of poison.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D107580

Files:
  llvm/lib/Transforms/Vectorize/VectorCombine.cpp
  llvm/test/Transforms/VectorCombine/load-insert-store.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107580.364515.patch
Type: text/x-patch
Size: 7544 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210805/95a16f1a/attachment.bin>


More information about the llvm-commits mailing list