|
2 | 2 |
|
3 | 3 | /// COM: -msimd=none
|
4 | 4 | // RUN: %clang --target=loongarch64 -mlasx -msimd=none -fsyntax-only %s -### 2>&1 | \
|
5 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
6 | 5 | // RUN: FileCheck %s --check-prefixes=LSX,LASX
|
7 | 6 | // RUN: %clang --target=loongarch64 -mlasx -mlsx -msimd=none -fsyntax-only %s -### 2>&1 | \
|
8 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
9 | 7 | // RUN: FileCheck %s --check-prefixes=LSX,LASX
|
10 | 8 |
|
11 | 9 | // RUN: %clang --target=loongarch64 -msimd=none -fsyntax-only %s -### 2>&1 | \
|
12 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
13 | 10 | // RUN: FileCheck %s --check-prefixes=NOLSX,NOLASX
|
14 | 11 | // RUN: %clang --target=loongarch64 -mlasx -mno-lasx -msimd=none -fsyntax-only %s -### 2>&1 | \
|
15 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
16 | 12 | // RUN: FileCheck %s --check-prefixes=NOLSX,NOLASX
|
17 | 13 | // RUN: %clang --target=loongarch64 -mlasx -mno-lasx -mlsx -mno-lsx -msimd=none -fsyntax-only %s -### 2>&1 | \
|
18 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
19 | 14 | // RUN: FileCheck %s --check-prefixes=NOLSX,NOLASX
|
20 | 15 | // RUN: %clang --target=loongarch64 -mlasx -mno-lasx -mno-lsx -msimd=none -fsyntax-only %s -### 2>&1 | \
|
21 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
22 | 16 | // RUN: FileCheck %s --check-prefixes=NOLSX,NOLASX
|
23 | 17 | // RUN: %clang --target=loongarch64 -mlsx -mno-lsx -msimd=none -fsyntax-only %s -### 2>&1 | \
|
24 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
25 | 18 | // RUN: FileCheck %s --check-prefixes=NOLSX,NOLASX
|
26 | 19 | // RUN: %clang --target=loongarch64 -mno-lasx -msimd=none -fsyntax-only %s -### 2>&1 | \
|
27 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
28 | 20 | // RUN: FileCheck %s --check-prefixes=NOLSX,NOLASX
|
29 | 21 | // RUN: %clang --target=loongarch64 -mno-lasx -mlsx -mno-lsx -msimd=none -fsyntax-only %s -### 2>&1 | \
|
30 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
31 | 22 | // RUN: FileCheck %s --check-prefixes=NOLSX,NOLASX
|
32 | 23 | // RUN: %clang --target=loongarch64 -mno-lasx -mno-lsx -msimd=none -fsyntax-only %s -### 2>&1 | \
|
33 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
34 | 24 | // RUN: FileCheck %s --check-prefixes=NOLSX,NOLASX
|
35 | 25 | // RUN: %clang --target=loongarch64 -mno-lsx -msimd=none -fsyntax-only %s -### 2>&1 | \
|
36 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
37 | 26 | // RUN: FileCheck %s --check-prefixes=NOLSX,NOLASX
|
38 | 27 |
|
39 | 28 | // RUN: %clang --target=loongarch64 -mlasx -mno-lasx -mlsx -msimd=none -fsyntax-only %s -### 2>&1 | \
|
40 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
41 | 29 | // RUN: FileCheck %s --check-prefixes=LSX,NOLASX
|
42 | 30 | // RUN: %clang --target=loongarch64 -mno-lasx -mlsx -msimd=none -fsyntax-only %s -### 2>&1 | \
|
43 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
44 | 31 | // RUN: FileCheck %s --check-prefixes=LSX,NOLASX
|
45 | 32 | // RUN: %clang --target=loongarch64 -mlsx -msimd=none -fsyntax-only %s -### 2>&1 | \
|
46 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
47 | 33 | // RUN: FileCheck %s --check-prefixes=LSX,NOLASX
|
48 | 34 |
|
49 | 35 |
|
50 | 36 | /// COM: -msimd=lsx
|
51 | 37 | // RUN: %clang --target=loongarch64 -mlasx -msimd=lsx -fsyntax-only %s -### 2>&1 | \
|
52 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
53 | 38 | // RUN: FileCheck %s --check-prefixes=LSX,LASX
|
54 | 39 | // RUN: %clang --target=loongarch64 -mlasx -mlsx -msimd=lsx -fsyntax-only %s -### 2>&1 | \
|
55 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
56 | 40 | // RUN: FileCheck %s --check-prefixes=LSX,LASX
|
57 | 41 |
|
58 | 42 | // RUN: %clang --target=loongarch64 -mlasx -mno-lasx -mno-lsx -msimd=lsx -fsyntax-only %s -### 2>&1 | \
|
59 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
60 | 43 | // RUN: FileCheck %s --check-prefixes=NOLSX,NOLASX
|
61 | 44 | // RUN: %clang --target=loongarch64 -mlsx -mno-lsx -msimd=lsx -fsyntax-only %s -### 2>&1 | \
|
62 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
63 | 45 | // RUN: FileCheck %s --check-prefixes=NOLSX,NOLASX
|
64 | 46 | // RUN: %clang --target=loongarch64 -mno-lasx -mlsx -mno-lsx -msimd=lsx -fsyntax-only %s -### 2>&1 | \
|
65 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
66 | 47 | // RUN: FileCheck %s --check-prefixes=NOLSX,NOLASX
|
67 | 48 | // RUN: %clang --target=loongarch64 -mno-lasx -mno-lsx -msimd=lsx -fsyntax-only %s -### 2>&1 | \
|
68 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
69 | 49 | // RUN: FileCheck %s --check-prefixes=NOLSX,NOLASX
|
70 | 50 | // RUN: %clang --target=loongarch64 -mno-lsx -msimd=lsx -fsyntax-only %s -### 2>&1 | \
|
71 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
72 | 51 | // RUN: FileCheck %s --check-prefixes=NOLSX,NOLASX
|
73 | 52 | // RUN: %clang --target=loongarch64 -mlasx -mno-lasx -mlsx -mno-lsx -msimd=lsx -fsyntax-only %s -### 2>&1 | \
|
74 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
75 | 53 | // RUN: FileCheck %s --check-prefixes=NOLSX,NOLASX
|
76 | 54 |
|
77 | 55 | // RUN: %clang --target=loongarch64 -msimd=lsx -fsyntax-only %s -### 2>&1 | \
|
78 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
79 | 56 | // RUN: FileCheck %s --check-prefixes=LSX,NOLASX
|
80 | 57 | // RUN: %clang --target=loongarch64 -mlasx -mno-lasx -msimd=lsx -fsyntax-only %s -### 2>&1 | \
|
81 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
82 | 58 | // RUN: FileCheck %s --check-prefixes=LSX,NOLASX
|
83 | 59 | // RUN: %clang --target=loongarch64 -mlsx -msimd=lsx -fsyntax-only %s -### 2>&1 | \
|
84 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
85 | 60 | // RUN: FileCheck %s --check-prefixes=LSX,NOLASX
|
86 | 61 | // RUN: %clang --target=loongarch64 -mno-lasx -msimd=lsx -fsyntax-only %s -### 2>&1 | \
|
87 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
88 | 62 | // RUN: FileCheck %s --check-prefixes=LSX,NOLASX
|
89 | 63 | // RUN: %clang --target=loongarch64 -mno-lasx -mlsx -msimd=lsx -fsyntax-only %s -### 2>&1 | \
|
90 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
91 | 64 | // RUN: FileCheck %s --check-prefixes=LSX,NOLASX
|
92 | 65 |
|
93 | 66 |
|
94 | 67 | /// COM: -msimd=lasx
|
95 | 68 | // RUN: %clang --target=loongarch64 -msimd=lasx -fsyntax-only %s -### 2>&1 | \
|
96 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
97 | 69 | // RUN: FileCheck %s --check-prefixes=LSX,LASX
|
98 | 70 | // RUN: %clang --target=loongarch64 -mlasx -msimd=lasx -fsyntax-only %s -### 2>&1 | \
|
99 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
100 | 71 | // RUN: FileCheck %s --check-prefixes=LSX,LASX
|
101 | 72 | // RUN: %clang --target=loongarch64 -mlasx -mlsx -msimd=lasx -fsyntax-only %s -### 2>&1 | \
|
102 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
103 | 73 | // RUN: FileCheck %s --check-prefixes=LSX,LASX
|
104 | 74 | // RUN: %clang --target=loongarch64 -mlsx -msimd=lasx -fsyntax-only %s -### 2>&1 | \
|
105 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
106 | 75 | // RUN: FileCheck %s --check-prefixes=LSX,LASX
|
107 | 76 |
|
108 | 77 | // RUN: %clang --target=loongarch64 -mlasx -mno-lasx -msimd=lasx -fsyntax-only %s -### 2>&1 | \
|
109 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
110 | 78 | // RUN: FileCheck %s --check-prefixes=NOLSX,NOLASX
|
111 | 79 | // RUN: %clang --target=loongarch64 -mno-lasx -msimd=lasx -fsyntax-only %s -### 2>&1 | \
|
112 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
113 | 80 | // RUN: FileCheck %s --check-prefixes=NOLSX,NOLASX
|
114 | 81 |
|
115 | 82 | // RUN: %clang --target=loongarch64 -mlasx -mno-lasx -mlsx -msimd=lasx -fsyntax-only %s -### 2>&1 | \
|
116 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
117 | 83 | // RUN: FileCheck %s --check-prefixes=LSX,NOLASX
|
118 | 84 | // RUN: %clang --target=loongarch64 -mno-lasx -mlsx -msimd=lasx -fsyntax-only %s -### 2>&1 | \
|
119 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
120 | 85 | // RUN: FileCheck %s --check-prefixes=LSX,NOLASX
|
121 | 86 | // RUN: %clang --target=loongarch64 -mlasx -mno-lasx -mlsx -msimd=lsx -fsyntax-only %s -### 2>&1 | \
|
122 |
| -// RUN: grep -o '"-target-feature" "+[[:alnum:]]\+"' | sort -r | \ |
123 | 87 | // RUN: FileCheck %s --check-prefixes=LSX,NOLASX
|
124 | 88 |
|
125 | 89 |
|
126 |
| -// LSX: "-target-feature" "+lsx" |
127 |
| -// LASX: "-target-feature" "+lasx" |
| 90 | +// NOLSX-NOT: "-target-feature" "+lsx" |
| 91 | +// NOLASX-NOT: "-target-feature" "+lasx" |
| 92 | +// LSX-DAG: "-target-feature" "+lsx" |
| 93 | +// LASX-DAG: "-target-feature" "+lasx" |
128 | 94 | // NOLSX-NOT: "-target-feature" "+lsx"
|
129 | 95 | // NOLASX-NOT: "-target-feature" "+lasx"
|
0 commit comments