[PATCH] D96022: [LoopVectorize] NFC: Split off clamping from computeFeasibleUserVF into its own function.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 3 13:46:45 PST 2021


sdesmalen updated this revision to Diff 327896.
sdesmalen added a comment.

- Simplified `clampFeasibleMaxVF` (it no longer returns a tuple).
- Reuse calculation for MaxSafeVF by passing it to `computeFeasibleMaxVF`.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96022/new/

https://reviews.llvm.org/D96022

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/AArch64/scalable-vf-hint.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96022.327896.patch
Type: text/x-patch
Size: 13490 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210303/b67b31c5/attachment.bin>


More information about the llvm-commits mailing list