[PATCH] D98634: [LV] Move runtime pointer size check to LVP::plan().
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 15 08:43:34 PDT 2021
fhahn created this revision.
fhahn added reviewers: Ayal, hsaito, ebrevnov, anemet, lebedev.ri.
Herald added subscribers: bmahjour, hiraditya.
fhahn requested review of this revision.
Herald added a project: LLVM.
This removes the need for the remaining doesNotMeet check and instead
directly checks if there are too many runtime checks for vectorization
in the planner.
A subsequent patch will adjust the logic used to decide whether to
vectorize with runtime to consider their cost more accurately.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D98634
Files:
llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/test/Transforms/LoopVectorize/X86/runtime-limit.ll
llvm/test/Transforms/LoopVectorize/runtime-limit.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98634.330678.patch
Type: text/x-patch
Size: 12907 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210315/bc129357/attachment.bin>
More information about the llvm-commits
mailing list