[all-commits] [llvm/llvm-project] f067bc: [LoopRotation] Allow loop header duplication if ve...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Oct 27 02:28:48 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f067bc3c0ad6b8800f63066d654ad15c3dd33fd1
      https://github.com/llvm/llvm-project/commit/f067bc3c0ad6b8800f63066d654ad15c3dd33fd1
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-10-27 (Tue, 27 Oct 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopRotation.cpp
    A llvm/test/Transforms/LoopVectorize/AArch64/Oz-and-forced-vectorize.ll

  Log Message:
  -----------
  [LoopRotation] Allow loop header duplication if vectorization is forced.

-Oz normally does not allow loop header duplication so this loop wouldn't be
vectorized.  However the vectorization pragma should override this and allow
for loop rotation.

rdar://problem/49281061

Original patch by Adam Nemet.

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D59832




More information about the All-commits mailing list