[PATCH] D142640: [Polly] Remove -polly-vectorizer=polly.

Michael Kruse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 26 08:22:02 PST 2023


Meinersbur created this revision.
Meinersbur added a reviewer: grosser.
Meinersbur added a project: Polly.
Herald added a reviewer: bollu.
Herald added a project: All.
Meinersbur requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, pcwang-thead, sstefan1.
Herald added a project: LLVM.

Polly's internal vectorizer is not well maintained and is known to not work in some cases such as region ScopStmts. Unlike LLVM's LoopVectorize pass it also does not have a target-dependent cost heuristics, and we recommend using LoopVectorize instead of -polly-vectorizer=polly.

In the future we hope that Polly can collaborate better with LoopVectorize, like Polly marking a loop is safe to vectorize with a specific simd width, instead of replicating its functionality.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D142640

Files:
  polly/include/polly/CodeGen/BlockGenerators.h
  polly/include/polly/CodeGen/CodeGeneration.h
  polly/include/polly/CodeGen/IslNodeBuilder.h
  polly/lib/CodeGen/BlockGenerators.cpp
  polly/lib/CodeGen/IslNodeBuilder.cpp
  polly/lib/Support/RegisterPasses.cpp
  polly/test/CodeGen/20130211-getNumberOfIterations.ll
  polly/test/CodeGen/MemAccess/simple_analyze.ll
  polly/test/CodeGen/MemAccess/simple_stride_test.ll
  polly/test/CodeGen/OpenMP/scev-rewriting.ll
  polly/test/CodeGen/getNumberOfIterations.ll
  polly/test/CodeGen/if-conditions-in-vector-code.ll
  polly/test/CodeGen/invariant_load_hoist_alignment.ll
  polly/test/CodeGen/partial_write_mapped_vector.ll
  polly/test/CodeGen/partial_write_mapped_vector___%for---%return.jscop
  polly/test/CodeGen/partial_write_mapped_vector___%for---%return.jscop.transformed
  polly/test/CodeGen/simple_vec_assign_scalar.ll
  polly/test/CodeGen/simple_vec_assign_scalar_2.ll
  polly/test/CodeGen/simple_vec_call.ll
  polly/test/CodeGen/simple_vec_call_2.ll
  polly/test/CodeGen/simple_vec_cast.ll
  polly/test/CodeGen/simple_vec_const.ll
  polly/test/CodeGen/simple_vec_large_width.ll
  polly/test/CodeGen/simple_vec_ptr_ptr_ty.ll
  polly/test/CodeGen/simple_vec_stride_negative_one.ll
  polly/test/CodeGen/simple_vec_stride_one.ll
  polly/test/CodeGen/simple_vec_stride_x.ll
  polly/test/CodeGen/simple_vec_strides_multidim.ll
  polly/test/CodeGen/simple_vec_two_stmts.ll
  polly/test/CodeGen/stride_detection.ll
  polly/test/ScheduleOptimizer/2012-04-16-Trivially-vectorizable-loops.ll
  polly/test/ScheduleOptimizer/prevectorization-without-tiling.ll
  polly/test/ScheduleOptimizer/prevectorization.ll
  polly/test/ScheduleOptimizer/rectangular-tiling.ll
  polly/test/ScheduleOptimizer/vec-addr-space.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142640.492461.patch
Type: text/x-patch
Size: 96434 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230126/b6fe6a86/attachment-0001.bin>


More information about the llvm-commits mailing list