repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[SCFToGPU] Convert scf.parallel+scf.reduce to gpu.all_reduce (#122782)
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
RISCV
/
builtin-cpu-is-error.c
blob
ce5e1420f7f4561e72cb89a25c12ec791c5afa91
1
// RUN: not %clang_cc1 -triple riscv64-unknown-linux-gnu -emit-llvm %s -o - 2>&1 \
2
// RUN: | FileCheck %s
3
4
// CHECK: error: invalid cpu name for builtin
5
int
test_cpu_is_invalid_cpu
() {
6
return
__builtin_cpu_is
(
"generic-rv64"
);
7
}