[PATCH] D112613: [RISCV] Change TARGET_BUILTIN require to zve32x for vector instruction
Yueh-Ting Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 6 02:15:00 PDT 2021
eopXD added inline comments.
================
Comment at: clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vaadd.c:3
// REQUIRES: riscv-registered-target
-// RUN: %clang_cc1 -triple riscv64 -target-feature +experimental-v -disable-O0-optnone -emit-llvm %s -o - | opt -S -mem2reg | FileCheck --check-prefix=CHECK-RV64 %s
+// RUN: %clang_cc1 -triple riscv64 -target-feature +experimental-zve32x -target-feature +experimental-zve64x -disable-O0-optnone -emit-llvm %s -o - | opt -S -mem2reg | FileCheck --check-prefix=CHECK-RV64 %s
----------------
craig.topper wrote:
> Why do we need to add zve32x and zve64x to the command line? Doesn't zve64x imply zve32x?
Just added D113336 to resolve this. I will rebase this patch and change test cases.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112613/new/
https://reviews.llvm.org/D112613
More information about the llvm-commits
mailing list