forked from OSchip/llvm-project
[RISCV] Remove space before colon in error message.
This commit is contained in:
parent
a5764912fb
commit
cc14e195e7
|
@ -11636,7 +11636,7 @@ def warn_tcb_enforcement_violation : Warning<
|
||||||
|
|
||||||
// RISC-V builtin required extension warning
|
// RISC-V builtin required extension warning
|
||||||
def err_riscv_builtin_requires_extension : Error<
|
def err_riscv_builtin_requires_extension : Error<
|
||||||
"builtin requires at least one of the following extensions to be enabled : %0">;
|
"builtin requires at least one of the following extensions to be enabled: %0">;
|
||||||
def err_riscv_builtin_invalid_lmul : Error<
|
def err_riscv_builtin_invalid_lmul : Error<
|
||||||
"LMUL argument must be in the range [0,3] or [5,7]">;
|
"LMUL argument must be in the range [0,3] or [5,7]">;
|
||||||
|
|
||||||
|
|
|
@ -2,5 +2,5 @@
|
||||||
// RUN: %clang_cc1 -triple riscv32 -target-feature +zbb -verify %s -o -
|
// RUN: %clang_cc1 -triple riscv32 -target-feature +zbb -verify %s -o -
|
||||||
|
|
||||||
int orc_b_64(int a) {
|
int orc_b_64(int a) {
|
||||||
return __builtin_riscv_orc_b_64(a); // expected-error {{builtin requires at least one of the following extensions to be enabled : 'RV64'}}
|
return __builtin_riscv_orc_b_64(a); // expected-error {{builtin requires at least one of the following extensions to be enabled: 'RV64'}}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
|
|
||||||
int zip(int rs1)
|
int zip(int rs1)
|
||||||
{
|
{
|
||||||
return __builtin_riscv_zip_32(rs1); // expected-error {{builtin requires at least one of the following extensions to be enabled : 'RV32'}}
|
return __builtin_riscv_zip_32(rs1); // expected-error {{builtin requires at least one of the following extensions to be enabled: 'RV32'}}
|
||||||
}
|
}
|
||||||
|
|
||||||
int unzip(int rs1)
|
int unzip(int rs1)
|
||||||
{
|
{
|
||||||
return __builtin_riscv_unzip_32(rs1); // expected-error {{builtin requires at least one of the following extensions to be enabled : 'RV32'}}
|
return __builtin_riscv_unzip_32(rs1); // expected-error {{builtin requires at least one of the following extensions to be enabled: 'RV32'}}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
// CHECK-RV64V-NEXT: ret i32 [[CONV]]
|
// CHECK-RV64V-NEXT: ret i32 [[CONV]]
|
||||||
//
|
//
|
||||||
|
|
||||||
// CHECK-RV64-ERR: error: builtin requires at least one of the following extensions to be enabled : 'Zve32x'
|
// CHECK-RV64-ERR: error: builtin requires at least one of the following extensions to be enabled: 'Zve32x'
|
||||||
|
|
||||||
int test() {
|
int test() {
|
||||||
return __builtin_rvv_vsetvli(1, 0, 0);
|
return __builtin_rvv_vsetvli(1, 0, 0);
|
||||||
|
|
Loading…
Reference in New Issue