[PATCH] D142382: [LV] Test case to show the problem with forced vec and rt-checks. NFC.

Kolya Panchenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 23 10:52:47 PST 2023


nikolaypanchenko created this revision.
Herald added a project: All.
nikolaypanchenko added reviewers: fhahn, ABataev, rui.zhang.
Herald added a subscriber: StephenFan.
nikolaypanchenko added a comment.
nikolaypanchenko edited the summary of this revision.
nikolaypanchenko published this revision for review.
Herald added subscribers: llvm-commits, pcwang-thead.
Herald added a project: LLVM.

The changeset contains a test that highlights the problem with forced vectorization and when number of required runtime checks exceeds some limit.
In the case of vec_foced it can be see that no overlap runtime checks were generated, which results to invalid vector code.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D142382

Files:
  llvm/test/Transforms/LoopVectorize/memcheck_threashold_vec_forced.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142382.491426.patch
Type: text/x-patch
Size: 5847 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230123/92ef9ae9/attachment.bin>


More information about the llvm-commits mailing list