[all-commits] [llvm/llvm-project] e69f8b: [RISCV][NFC] Add test case for SLP reduction vecto...

Luke Lau via All-commits all-commits at lists.llvm.org
Tue Mar 21 08:58:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e69f8bac42e5c3e636a1b06c08fc2739ac1d9b36
      https://github.com/llvm/llvm-project/commit/e69f8bac42e5c3e636a1b06c08fc2739ac1d9b36
  Author: Luke Lau <luke at igalia.com>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M llvm/test/Transforms/SLPVectorizer/RISCV/reductions.ll

  Log Message:
  -----------
  [RISCV][NFC] Add test case for SLP reduction vectorization failure

Horizontal reductions still occur on RISC-V, despite the maximum SLP VF
reported back by TTI being 1, to disable SLP.
This can cause the cost model to think it can vectorize a gather into
smaller, widened loads, when it will actually fail to do so.
This should ultimately be fixed whenever SLP is re-enabled for RISC-V at
some point.

Reviewed By: reames

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




More information about the All-commits mailing list