[PATCH] D111846: [LV] Drop integer poison-generating flags from instructions that need predication

Diego Caballero via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 31 15:01:56 PDT 2021


dcaballe updated this revision to Diff 383687.
dcaballe added a comment.

- Added check to make sure we only drop poison-generating flags from instructions contributing to the address computation of masked loads/stores.
- Removed logic to drop flags from widen GEPs (for gathers/scatters)
- Removed logic to drop flags from all the widen instructions.
- Reverted changes in impacted tests.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111846

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/AArch64/sve-masked-loadstore.ll
  llvm/test/Transforms/LoopVectorize/AArch64/sve-vector-reverse-mask4.ll
  llvm/test/Transforms/LoopVectorize/AArch64/vector-reverse-mask4.ll
  llvm/test/Transforms/LoopVectorize/X86/drop-poison-generating-flags.ll
  llvm/test/Transforms/LoopVectorize/X86/gather_scatter.ll
  llvm/test/Transforms/LoopVectorize/X86/invariant-store-vectorization.ll
  llvm/test/Transforms/LoopVectorize/X86/load-deref-pred.ll
  llvm/test/Transforms/LoopVectorize/X86/masked_load_store.ll
  llvm/test/Transforms/LoopVectorize/X86/x86-interleaved-accesses-masked-group.ll
  llvm/test/Transforms/LoopVectorize/X86/x86-interleaved-store-accesses-with-gaps.ll
  llvm/test/Transforms/LoopVectorize/X86/x86-pr39099.ll
  llvm/test/Transforms/LoopVectorize/single-value-blend-phis.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111846.383687.patch
Type: text/x-patch
Size: 195378 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211031/320b9eaa/attachment-0001.bin>


More information about the llvm-commits mailing list