[PATCH] D122126: [LoopVectorize] Don't interleave when the number of runtime checks exceeds the threshold
Tiehu Zhang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 21 04:41:54 PDT 2022
TiehuZhang created this revision.
TiehuZhang added reviewers: dmgreen, spatel, mdchen, sdesmalen.
Herald added subscribers: bmahjour, hiraditya.
Herald added a project: All.
TiehuZhang requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
The runtime check threshold should also restrict interleave count. Otherwise, too many runtime checks will be generated for some cases.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D122126
Files:
llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/test/Transforms/LoopVectorize/interleaved-pointer-runtime-check-unprofitable.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122126.416894.patch
Type: text/x-patch
Size: 7344 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220321/6d3771ff/attachment.bin>
More information about the llvm-commits
mailing list