[PATCH] D147378: [LV] Replace symbolic stride with const in LV
Peixin Qiao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 1 07:25:37 PDT 2023
peixin created this revision.
peixin added reviewers: fhahn, Ayal, david-arm, reames, wwei.
peixin added projects: All, LLVM.
Herald added subscribers: StephenFan, rogfer01, javed.absar, hiraditya.
peixin requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, vkmr.
The SCEV checks can replace the symbolic strides with const values. The
replace in vector region depends on GVN pass, but it is run before LV
pass, so we need to replace it in LV pass.
Repository:
rG LLVM Github Monorepo
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/runtime-check-needed-but-empty.ll
llvm/test/Transforms/LoopVectorize/version-mem-access.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147378.510224.patch
Type: text/x-patch
Size: 7291 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230401/a29c1daa/attachment.bin>
More information about the llvm-commits
mailing list