[PATCH] D90687: [LV] Clamp VF hint when unsafe

Cullen Rhodes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 18 05:31:38 PST 2020


c-rhodes updated this revision to Diff 306069.
c-rhodes added a comment.

- Rebased (`computeFeasibleMaxVF` now returns an `ElementCount`).
- Address one of @fhahn's comments.
- Added an assert at the top of `computeFeasibleMaxVF` that `UserVF` isn't scalable.


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

https://reviews.llvm.org/D90687

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/unsafe-vf-hint-remark.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90687.306069.patch
Type: text/x-patch
Size: 6485 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201118/f250f07f/attachment.bin>


More information about the llvm-commits mailing list