File tree Expand file tree Collapse file tree 8 files changed +24
-22
lines changed Expand file tree Collapse file tree 8 files changed +24
-22
lines changed Original file line number Diff line number Diff line change 1
1
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
2
+ // REQUIRES: riscv-registered-target
2
3
// RUN: %clang_cc1 -triple riscv32 -target-feature +f -target-feature +d -target-feature +experimental-v \
3
4
// RUN: -target-feature +experimental-zfh -disable-O0-optnone -emit-llvm %s -o - | opt -S -mem2reg | FileCheck --check-prefix=CHECK-RV32 %s
4
5
// RUN: %clang_cc1 -triple riscv64 -target-feature +f -target-feature +d -target-feature +experimental-v \
5
6
// RUN: -target-feature +experimental-zfh -disable-O0-optnone -emit-llvm %s -o - | opt -S -mem2reg | FileCheck --check-prefix=CHECK-RV64 %s
6
- // RUN: %clang_cc1 -triple riscv64 -target-feature +f -target-feature +d -target-feature +experimental-v \
7
- // RUN: -target-feature +experimental-zfh -Werror -Wall -o - %s >/dev/null 2>%t
8
- // RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
7
+ // RUN: %clang_cc1 -triple riscv64 -target-feature +m -target-feature +experimental-v \
8
+ // RUN: -Werror -Wall -o - %s -S >/dev/null 2>&1 | FileCheck --check-prefix=ASM --allow-empty %s
9
9
10
10
// ASM-NOT: warning
11
11
#include <riscv_vector_generic.h>
Original file line number Diff line number Diff line change 1
1
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
2
+ // REQUIRES: riscv-registered-target
2
3
// RUN: %clang_cc1 -triple riscv32 -target-feature +f -target-feature +d -target-feature +experimental-v \
3
4
// RUN: -target-feature +experimental-zfh -disable-O0-optnone -emit-llvm %s -o - | opt -S -mem2reg | FileCheck --check-prefix=CHECK-RV32 %s
4
5
// RUN: %clang_cc1 -triple riscv64 -target-feature +f -target-feature +d -target-feature +experimental-v \
5
6
// RUN: -target-feature +experimental-zfh -disable-O0-optnone -emit-llvm %s -o - | opt -S -mem2reg | FileCheck --check-prefix=CHECK-RV64 %s
6
- // RUN: %clang_cc1 -triple riscv64 -target-feature +f -target-feature +d -target-feature +experimental-v \
7
- // RUN: -target-feature +experimental-zfh -Werror -Wall -o - %s >/dev/null 2>%t
8
- // RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
7
+ // RUN: %clang_cc1 -triple riscv64 -target-feature +m -target-feature +f -target-feature +d -target-feature +experimental-v \
8
+ // RUN: -Werror -Wall -o - %s -S >/dev/null 2>&1 | FileCheck --check-prefix=ASM --allow-empty %s
9
9
10
10
// ASM-NOT: warning
11
11
#include <riscv_vector_generic.h>
Original file line number Diff line number Diff line change 1
1
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
2
+ // REQUIRES: riscv-registered-target
2
3
// RUN: %clang_cc1 -triple riscv32 -target-feature +f -target-feature +d -target-feature +experimental-v \
3
4
// RUN: -target-feature +experimental-zfh -disable-O0-optnone -emit-llvm %s -o - | opt -S -mem2reg | FileCheck --check-prefix=CHECK-RV32 %s
4
5
// RUN: %clang_cc1 -triple riscv64 -target-feature +f -target-feature +d -target-feature +experimental-v \
5
6
// RUN: -target-feature +experimental-zfh -disable-O0-optnone -emit-llvm %s -o - | opt -S -mem2reg | FileCheck --check-prefix=CHECK-RV64 %s
6
- // RUN: %clang_cc1 -triple riscv64 -target-feature +f -target-feature +d -target-feature +experimental-v \
7
- // RUN: -target-feature +experimental-zfh -Werror -Wall -o - %s >/dev/null 2>%t
8
- // RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
7
+ // RUN: %clang_cc1 -triple riscv64 -target-feature +m -target-feature +experimental-v \
8
+ // RUN: -Werror -Wall -o - %s -S >/dev/null 2>&1 | FileCheck --check-prefix=ASM --allow-empty %s
9
9
10
10
// ASM-NOT: warning
11
11
#include <riscv_vector.h>
Original file line number Diff line number Diff line change 1
1
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
2
+ // REQUIRES: riscv-registered-target
2
3
// RUN: %clang_cc1 -triple riscv32 -target-feature +f -target-feature +d -target-feature +experimental-v \
3
4
// RUN: -target-feature +experimental-zfh -disable-O0-optnone -emit-llvm %s -o - | opt -S -mem2reg | FileCheck --check-prefix=CHECK-RV32 %s
4
5
// RUN: %clang_cc1 -triple riscv64 -target-feature +f -target-feature +d -target-feature +experimental-v \
5
6
// RUN: -target-feature +experimental-zfh -disable-O0-optnone -emit-llvm %s -o - | opt -S -mem2reg | FileCheck --check-prefix=CHECK-RV64 %s
6
- // RUN: %clang_cc1 -triple riscv64 -target-feature +f -target-feature +d -target-feature +experimental-v \
7
- // RUN: -target-feature +experimental-zfh -Werror -Wall -o - %s >/dev/null 2>%t
8
- // RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
7
+ // RUN: %clang_cc1 -triple riscv64 -target-feature +m -target-feature +f -target-feature +d -target-feature +experimental-v \
8
+ // RUN: -Werror -Wall -o - %s -S >/dev/null 2>&1 | FileCheck --check-prefix=ASM --allow-empty %s
9
9
10
10
// ASM-NOT: warning
11
11
#include <riscv_vector.h>
Original file line number Diff line number Diff line change 1
1
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
2
+ // REQUIRES: riscv-registered-target
2
3
// RUN: %clang_cc1 -triple riscv32 -target-feature +f -target-feature +d -target-feature +experimental-v \
3
4
// RUN: -disable-O0-optnone -emit-llvm %s -o - | opt -S -mem2reg | FileCheck --check-prefix=CHECK-RV32 %s
4
5
// RUN: %clang_cc1 -triple riscv64 -target-feature +f -target-feature +d -target-feature +experimental-v \
5
6
// RUN: -disable-O0-optnone -emit-llvm %s -o - | opt -S -mem2reg | FileCheck --check-prefix=CHECK-RV64 %s
6
- // RUN: %clang_cc1 -triple riscv64 -target-feature +f -target-feature +d -target-feature +experimental-v \
7
- // RUN: -Werror -Wall -o - %s >/dev/null 2>&1 | FileCheck --check-prefix=ASM --allow-empty %s
7
+ // RUN: %clang_cc1 -triple riscv64 -target-feature +m -target-feature + f -target-feature +d -target-feature +experimental-v \
8
+ // RUN: -Werror -Wall -o - %s -S >/dev/null 2>&1 | FileCheck --check-prefix=ASM --allow-empty %s
8
9
9
10
// ASM-NOT: warning
10
11
#include <riscv_vector.h>
Original file line number Diff line number Diff line change 1
1
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
2
+ // REQUIRES: riscv-registered-target
2
3
// RUN: %clang_cc1 -triple riscv32 -target-feature +f -target-feature +d -target-feature +experimental-v \
3
4
// RUN: -disable-O0-optnone -emit-llvm %s -o - | opt -S -mem2reg | FileCheck --check-prefix=CHECK-RV32 %s
4
5
// RUN: %clang_cc1 -triple riscv64 -target-feature +f -target-feature +d -target-feature +experimental-v \
5
6
// RUN: -disable-O0-optnone -emit-llvm %s -o - | opt -S -mem2reg | FileCheck --check-prefix=CHECK-RV64 %s
6
- // RUN: %clang_cc1 -triple riscv64 -target-feature +f -target-feature +d -target-feature +experimental-v \
7
- // RUN: -Werror -Wall -o - %s >/dev/null 2>&1 | FileCheck --check-prefix=ASM --allow-empty %s
7
+ // RUN: %clang_cc1 -triple riscv64 -target-feature +m -target-feature + f -target-feature +d -target-feature +experimental-v \
8
+ // RUN: -Werror -Wall -o - %s -S >/dev/null 2>&1 | FileCheck --check-prefix=ASM --allow-empty %s
8
9
9
10
// ASM-NOT: warning
10
11
#include <riscv_vector.h>
Original file line number Diff line number Diff line change 1
1
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
2
-
2
+ // REQUIRES: riscv-registered-target
3
3
// RUN: %clang_cc1 -triple riscv32 -target-feature +experimental-v -emit-llvm -o - %s \
4
4
// RUN: | FileCheck --check-prefix=CHECK-RV32 %s
5
5
// RUN: %clang_cc1 -triple riscv64 -target-feature +experimental-v -emit-llvm -o - %s \
6
6
// RUN: | FileCheck --check-prefix=CHECK-RV64 %s
7
- // RUN: %clang_cc1 -triple riscv64 -target-feature +experimental-v -Werror -Wall -o - \
8
- // RUN: %s > /dev/null 2>&1 | FileCheck --check-prefix=ASM --allow-empty %s
7
+ // RUN: %clang_cc1 -triple riscv64 -target-feature +m -target-feature +experimental-v \
8
+ // RUN: -Werror -Wall -o - %s -S > /dev/null 2>&1 | FileCheck --check-prefix=ASM --allow-empty %s
9
9
10
10
// ASM-NOT: warning
11
11
#include <riscv_vector.h>
Original file line number Diff line number Diff line change 1
1
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
2
-
2
+ // REQUIRES: riscv-registered-target
3
3
// RUN: %clang_cc1 -triple riscv32 -target-feature +experimental-v -emit-llvm -o - %s \
4
4
// RUN: | FileCheck --check-prefix=CHECK-RV32 %s
5
5
// RUN: %clang_cc1 -triple riscv64 -target-feature +experimental-v -emit-llvm -o - %s \
6
6
// RUN: | FileCheck --check-prefix=CHECK-RV64 %s
7
- // RUN: %clang_cc1 -triple riscv64 -target-feature +experimental-v -Werror -Wall -o - \
8
- // RUN: %s > /dev/null 2>&1 | FileCheck --check-prefix=ASM --allow-empty %s
7
+ // RUN: %clang_cc1 -triple riscv64 -target-feature +m -target-feature +experimental-v \
8
+ // RUN: -Werror -Wall -o - %s -S > /dev/null 2>&1 | FileCheck --check-prefix=ASM --allow-empty %s
9
9
10
10
// ASM-NOT: warning
11
11
#include <riscv_vector.h>
You can’t perform that action at this time.
0 commit comments