[PATCH] D112725: [LoopVectorize] Extract the last lane from a uniform store

Kerry McLaughlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 4 10:22:34 PDT 2021


kmclaughlin updated this revision to Diff 384795.
kmclaughlin marked 2 inline comments as done.
kmclaughlin added a comment.

- Add store instructions to the `Uniforms` list in collectLoopUniforms, instead of the worklist. Added more comments to clarify that instructions in `Uniforms` may demand the first or last lane.
- Moved the new tests in sve-uniform-store.ll into sve-inv-store.ll.
- Removed the CHECK lines from `middle.block` from `@inv_store_i16`


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

https://reviews.llvm.org/D112725

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/AArch64/sve-inv-store.ll
  llvm/test/Transforms/LoopVectorize/X86/cost-model-assert.ll
  llvm/test/Transforms/LoopVectorize/X86/illegal-parallel-loop-uniform-write.ll
  llvm/test/Transforms/LoopVectorize/X86/uniform_mem_op.ll
  llvm/test/Transforms/LoopVectorize/pr44488-predication.ll
  llvm/test/Transforms/LoopVectorize/pr47343-expander-lcssa-after-cfg-update.ll
  llvm/test/Transforms/LoopVectorize/skeleton-lcssa-crash.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112725.384795.patch
Type: text/x-patch
Size: 29742 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211104/8eaa839f/attachment.bin>


More information about the llvm-commits mailing list