[PATCH] D90687: [LV] Ignore VF hint when unsafe
Cullen Rhodes via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 4 03:43:00 PST 2020
c-rhodes updated this revision to Diff 302809.
c-rhodes added a comment.
Rather than bail out of vectorization if `UserVF > MaxVF`, clamp `UserVF` to the maximum feasible VF.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90687/new/
https://reviews.llvm.org/D90687
Files:
llvm/include/llvm/Analysis/LoopAccessAnalysis.h
llvm/lib/Analysis/LoopAccessAnalysis.cpp
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/test/Transforms/LoopVectorize/X86/libm-vector-calls-VF2-VF8.ll
llvm/test/Transforms/LoopVectorize/X86/libm-vector-calls-finite.ll
llvm/test/Transforms/LoopVectorize/X86/libm-vector-calls.ll
llvm/test/Transforms/LoopVectorize/X86/svml-calls-finite.ll
llvm/test/Transforms/LoopVectorize/metadata-width.ll
llvm/test/Transforms/LoopVectorize/preserve-dbg-loc-and-loop-metadata.ll
llvm/test/Transforms/LoopVectorize/runtime-check.ll
llvm/test/Transforms/LoopVectorize/unsafe-vf-remark.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90687.302809.patch
Type: text/x-patch
Size: 33997 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201104/c4dd8890/attachment.bin>
More information about the llvm-commits
mailing list