[PATCH] D57598: [VPLAN] Determine Vector Width programmatically.

Francesco Petrogalli via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 1 09:51:51 PST 2019


fpetrogalli created this revision.
fpetrogalli added a reviewer: hsaito.
fpetrogalli added a project: LLVM.
Herald added subscribers: rogfer01, rkruppe, tschuett, bollu.

With this change, the VPlan native path is triggered with the directive:

#pragma clang loop vectorize(enable)

There is no need to specify the `vectorize_width(N)` clause.


Repository:
  rL LLVM

https://reviews.llvm.org/D57598

Files:
  lib/Transforms/Vectorize/LoopVectorize.cpp
  test/Transforms/LoopVectorize/explicit_outer_detection.ll
  test/Transforms/LoopVectorize/outer_loop_test1_no_explicit_vect_width.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57598.184775.patch
Type: text/x-patch
Size: 10054 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190201/1399d44d/attachment-0001.bin>


More information about the llvm-commits mailing list