[clang][test][RISCV] Check for __riscv_i in riscv-target-features.c
This was overlooked, even though we have comprehensive tests for all the other __riscv_fooext defines.
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
// CHECK-NOT: __riscv_zcd {{.*$}}
|
||||
// CHECK-NOT: __riscv_zcf {{.*$}}
|
||||
// CHECK-NOT: __riscv_h {{.*$}}
|
||||
// CHECK: __riscv_i 2000000{{$}}
|
||||
|
||||
// RUN: %clang -target riscv32-unknown-linux-gnu -march=rv32im -x c -E -dM %s \
|
||||
// RUN: -o - | FileCheck --check-prefix=CHECK-M-EXT %s
|
||||
|
||||
Reference in New Issue
Block a user