[PATCH] D147378: [LV] Replace symbolic strides with constants in LV

Peixin Qiao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 9 04:19:09 PDT 2023


peixin updated this revision to Diff 511983.
peixin retitled this revision from "[LV] Replace symbolic stride with const in LV" to "[LV] Replace symbolic strides with constants in LV".
peixin edited the summary of this revision.
peixin added a comment.

Simplify the implementation.

Take the replacement in vector preheader, too.


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

https://reviews.llvm.org/D147378

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/lib/Transforms/Vectorize/VPlan.cpp
  llvm/lib/Transforms/Vectorize/VPlan.h
  llvm/test/Transforms/LoopVectorize/ARM/mve-gather-scatter-tailpred.ll
  llvm/test/Transforms/LoopVectorize/RISCV/strided-accesses.ll
  llvm/test/Transforms/LoopVectorize/runtime-check-needed-but-empty.ll
  llvm/test/Transforms/LoopVectorize/version-mem-access.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147378.511983.patch
Type: text/x-patch
Size: 12959 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230409/a4b06e47/attachment.bin>


More information about the llvm-commits mailing list