Author: Jim Lin Date: 2023-08-07T14:03:33+08:00 New Revision: d7abafa6a03f3aa66b18b16cb040795201870845
URL: https://github.com/llvm/llvm-project/commit/d7abafa6a03f3aa66b18b16cb040795201870845 DIFF: https://github.com/llvm/llvm-project/commit/d7abafa6a03f3aa66b18b16cb040795201870845.diff LOG: [RISCV] Remove -menable-experimental-extensions option for zc extension in riscv-target-features.c. NFC. zca, zcb, zcd, zcf, zcmp and zcmt aren't experimental extensions. Added: Modified: clang/test/Preprocessor/riscv-target-features.c Removed: ################################################################################ diff --git a/clang/test/Preprocessor/riscv-target-features.c b/clang/test/Preprocessor/riscv-target-features.c index 3a0ab9431e0769..2361ec70a5609c 100644 --- a/clang/test/Preprocessor/riscv-target-features.c +++ b/clang/test/Preprocessor/riscv-target-features.c @@ -496,40 +496,40 @@ // RUN: -o - | FileCheck --check-prefix=CHECK-XTHEADVDOT-EXT %s // CHECK-XTHEADVDOT-EXT: __riscv_xtheadvdot 1000000{{$}} -// RUN: %clang -target riscv32 -march=rv32izca1p0 -menable-experimental-extensions \ -// RUN: -x c -E -dM %s -o - | FileCheck --check-prefix=CHECK-ZCA-EXT %s -// RUN: %clang -target riscv64 -march=rv64izca1p0 -menable-experimental-extensions \ -// RUN: -x c -E -dM %s -o - | FileCheck --check-prefix=CHECK-ZCA-EXT %s +// RUN: %clang -target riscv32 -march=rv32izca1p0 -x c -E -dM %s \ +// RUN: -o - | FileCheck --check-prefix=CHECK-ZCA-EXT %s +// RUN: %clang -target riscv64 -march=rv64izca1p0 -x c -E -dM %s \ +// RUN: -o - | FileCheck --check-prefix=CHECK-ZCA-EXT %s // CHECK-ZCA-EXT: __riscv_zca 1000000{{$}} -// RUN: %clang -target riscv32 -march=rv32izcb1p0 -menable-experimental-extensions \ -// RUN: -x c -E -dM %s -o - | FileCheck --check-prefix=CHECK-ZCB-EXT %s -// RUN: %clang -target riscv64 -march=rv64izcb1p0 -menable-experimental-extensions \ -// RUN: -x c -E -dM %s -o - | FileCheck --check-prefix=CHECK-ZCB-EXT %s +// RUN: %clang -target riscv32 -march=rv32izcb1p0 -x c -E -dM %s \ +// RUN: -o - | FileCheck --check-prefix=CHECK-ZCB-EXT %s +// RUN: %clang -target riscv64 -march=rv64izcb1p0 -x c -E -dM %s \ +// RUN: -o - | FileCheck --check-prefix=CHECK-ZCB-EXT %s // CHECK-ZCB-EXT: __riscv_zca 1000000{{$}} // CHECK-ZCB-EXT: __riscv_zcb 1000000{{$}} -// RUN: %clang -target riscv32 -march=rv32izcd1p0 -menable-experimental-extensions \ -// RUN: -x c -E -dM %s -o - | FileCheck --check-prefix=CHECK-ZCD-EXT %s -// RUN: %clang -target riscv64 -march=rv64izcd1p0 -menable-experimental-extensions \ -// RUN: -x c -E -dM %s -o - | FileCheck --check-prefix=CHECK-ZCD-EXT %s +// RUN: %clang -target riscv32 -march=rv32izcd1p0 -x c -E -dM %s \ +// RUN: -o - | FileCheck --check-prefix=CHECK-ZCD-EXT %s +// RUN: %clang -target riscv64 -march=rv64izcd1p0 -x c -E -dM %s \ +// RUN: -o - | FileCheck --check-prefix=CHECK-ZCD-EXT %s // CHECK-ZCD-EXT: __riscv_zcd 1000000{{$}} -// RUN: %clang -target riscv32 -march=rv32izcf1p0 -menable-experimental-extensions \ -// RUN: -x c -E -dM %s -o - | FileCheck --check-prefix=CHECK-ZCF-EXT %s +// RUN: %clang -target riscv32 -march=rv32izcf1p0 -x c -E -dM %s \ +// RUN: -o - | FileCheck --check-prefix=CHECK-ZCF-EXT %s // CHECK-ZCF-EXT: __riscv_zcf 1000000{{$}} -// RUN: %clang -target riscv32 -march=rv32izcmp1p0 -menable-experimental-extensions \ -// RUN: -x c -E -dM %s -o - | FileCheck --check-prefix=CHECK-ZCMP-EXT %s -// RUN: %clang -target riscv64 -march=rv64izcmp1p0 -menable-experimental-extensions \ -// RUN: -x c -E -dM %s -o - | FileCheck --check-prefix=CHECK-ZCMP-EXT %s +// RUN: %clang -target riscv32 -march=rv32izcmp1p0 -x c -E -dM %s \ +// RUN: -o - | FileCheck --check-prefix=CHECK-ZCMP-EXT %s +// RUN: %clang -target riscv64 -march=rv64izcmp1p0 -x c -E -dM %s \ +// RUN: -o - | FileCheck --check-prefix=CHECK-ZCMP-EXT %s // CHECK-ZCMP-EXT: __riscv_zca 1000000{{$}} // CHECK-ZCMP-EXT: __riscv_zcmp 1000000{{$}} -// RUN: %clang -target riscv32 -march=rv32izcmt1p0 -menable-experimental-extensions \ -// RUN: -x c -E -dM %s -o - | FileCheck --check-prefix=CHECK-ZCMT-EXT %s -// RUN: %clang -target riscv64 -march=rv64izcmt1p0 -menable-experimental-extensions \ -// RUN: -x c -E -dM %s -o - | FileCheck --check-prefix=CHECK-ZCMT-EXT %s +// RUN: %clang -target riscv32 -march=rv32izcmt1p0 -x c -E -dM %s \ +// RUN: -o - | FileCheck --check-prefix=CHECK-ZCMT-EXT %s +// RUN: %clang -target riscv64 -march=rv64izcmt1p0 -x c -E -dM %s \ +// RUN: -o - | FileCheck --check-prefix=CHECK-ZCMT-EXT %s // CHECK-ZCMT-EXT: __riscv_zca 1000000{{$}} // CHECK-ZCMT-EXT: __riscv_zcmt 1000000{{$}} _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits