[PATCH] D142144: [RISCV][Driver] Add -mrvv-vector-bits= option similar to -msve-vector-bits=

Wang Pengcheng via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 21 03:13:47 PDT 2023


wangpc added inline comments.
Herald added subscribers: jobnoorman, sunshaoce.


================
Comment at: clang/test/Driver/riscv-rvv-vector-bits.c:43
+// RUN: %clang -c %s -### --target=riscv64-linux-gnu -march=rv64gcv \
+// RUN:  -mrvv-vector-bits=64 2>&1 | FileCheck --check-prefix=CHECK-BAD-VALUE-ERROR %s
+
----------------
Why isn't 64 an valid value?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142144



More information about the cfe-commits mailing list