[SCFToGPU] Convert scf.parallel+scf.reduce to gpu.all_reduce (#122782)
[llvm-project.git] / clang / test / CodeGen / RISCV / builtin-cpu-is-error.c
blobce5e1420f7f4561e72cb89a25c12ec791c5afa91
1 // RUN: not %clang_cc1 -triple riscv64-unknown-linux-gnu -emit-llvm %s -o - 2>&1 \
2 // RUN: | FileCheck %s
4 // CHECK: error: invalid cpu name for builtin
5 int test_cpu_is_invalid_cpu() {
6 return __builtin_cpu_is("generic-rv64");