[PATCH] D101374: [LV] Consider Loop Unroll Hints When Making Interleave Decisions
Bardia Mahjour via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 27 17:12:39 PDT 2021
bmahjour updated this revision to Diff 341031.
bmahjour edited the summary of this revision.
bmahjour added a comment.
Changed it to use `hasUnrollTransformation()` per Michael's comment. Note that `hasUnrollTransformation` does not take `llvm.loop.unroll.runtime.disable` into account. I think that's ok for now, since clang doesn't seem to be generating that MD and we only use it for marking epilogue loops. We could add that in the future as a separate patch, if the need arises.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101374/new/
https://reviews.llvm.org/D101374
Files:
llvm/include/llvm/Transforms/Utils/LoopUtils.h
llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
llvm/lib/Transforms/Utils/LoopUtils.cpp
llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/test/Transforms/LoopVectorize/X86/no_fpmath.ll
llvm/test/Transforms/LoopVectorize/explicit_outer_detection.ll
llvm/test/Transforms/LoopVectorize/nounroll.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101374.341031.patch
Type: text/x-patch
Size: 14395 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210428/866ed016/attachment.bin>
More information about the llvm-commits
mailing list