[PATCH] D97549: [RISCV] Enable fixed-length vectorization of LoopVectorizer for RISC-V Vector

Luke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 3 22:46:15 PST 2021


luke957 added inline comments.


================
Comment at: llvm/test/Transforms/LoopVectorize/RISCV/riscv-unroll.ll:1
+; RUN: opt < %s -loop-vectorize -mtriple=riscv64 -mattr=+m,+experimental-v -riscv-v-vector-bits-max=128 -riscv-v-vector-bits-min=128 -S | FileCheck %s
+
----------------
HsiangKai wrote:
> `-mattr=+experimental-v` should be enough.
> 
> Should we specify `-riscv-v-vector-bits-max` in this test case?
Yeah, "-riscv-v-vector-bits-max" is not needed.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97549/new/

https://reviews.llvm.org/D97549



More information about the llvm-commits mailing list