[all-commits] [llvm/llvm-project] d0c958: [LV] Unroll factor is expected to be > 0

ebrevnov via All-commits all-commits at lists.llvm.org
Wed Oct 14 02:48:48 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d0c95808e50c9f77484dacb8db0dc95b23f9f877
      https://github.com/llvm/llvm-project/commit/d0c95808e50c9f77484dacb8db0dc95b23f9f877
  Author: Evgeniy Brevnov <ybrevnov at azul.com>
  Date:   2020-10-14 (Wed, 14 Oct 2020)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    A llvm/test/Transforms/LoopVectorize/SystemZ/zero_unroll.ll

  Log Message:
  -----------
  [LV] Unroll factor is expected to be > 0

LV fails with assertion checking that UF > 0. We already set UF to 1 if it is 0 except the case when IC > MaxInterleaveCount. The fix is to set UF to 1 for that case as well.

Reviewed By: fhahn

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




More information about the All-commits mailing list