Skip to content

Commit 9ca2d60

Browse files
committed
[Driver][test] Replace legacy -target with --target=
Similar to previous cleanup. While changing mips* tests, change some -no-integrated-as to the recommended -fno-integrated-as.
1 parent 0f08ef1 commit 9ca2d60

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+597
-597
lines changed

clang/test/Driver/m68k-features.cpp

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,79 @@
11
// REQUIRES: m68k-registered-target
2-
// RUN: %clang -target m68k -ffixed-a0 -### %s 2> %t
2+
// RUN: %clang --target=m68k -ffixed-a0 -### %s 2> %t
33
// RUN: FileCheck --check-prefix=CHECK-FIXED-A0 < %t %s
44
// CHECK-FIXED-A0: "-target-feature" "+reserve-a0"
55

6-
// RUN: %clang -target m68k -ffixed-a1 -### %s 2> %t
6+
// RUN: %clang --target=m68k -ffixed-a1 -### %s 2> %t
77
// RUN: FileCheck --check-prefix=CHECK-FIXED-A1 < %t %s
88
// CHECK-FIXED-A1: "-target-feature" "+reserve-a1"
99

10-
// RUN: %clang -target m68k -ffixed-a2 -### %s 2> %t
10+
// RUN: %clang --target=m68k -ffixed-a2 -### %s 2> %t
1111
// RUN: FileCheck --check-prefix=CHECK-FIXED-A2 < %t %s
1212
// CHECK-FIXED-A2: "-target-feature" "+reserve-a2"
1313

14-
// RUN: %clang -target m68k -ffixed-a3 -### %s 2> %t
14+
// RUN: %clang --target=m68k -ffixed-a3 -### %s 2> %t
1515
// RUN: FileCheck --check-prefix=CHECK-FIXED-A3 < %t %s
1616
// CHECK-FIXED-A3: "-target-feature" "+reserve-a3"
1717

18-
// RUN: %clang -target m68k -ffixed-a4 -### %s 2> %t
18+
// RUN: %clang --target=m68k -ffixed-a4 -### %s 2> %t
1919
// RUN: FileCheck --check-prefix=CHECK-FIXED-A4 < %t %s
2020
// CHECK-FIXED-A4: "-target-feature" "+reserve-a4"
2121

22-
// RUN: %clang -target m68k -ffixed-a5 -### %s 2> %t
22+
// RUN: %clang --target=m68k -ffixed-a5 -### %s 2> %t
2323
// RUN: FileCheck --check-prefix=CHECK-FIXED-A5 < %t %s
2424
// CHECK-FIXED-A5: "-target-feature" "+reserve-a5"
2525

26-
// RUN: %clang -target m68k -ffixed-a6 -### %s 2> %t
26+
// RUN: %clang --target=m68k -ffixed-a6 -### %s 2> %t
2727
// RUN: FileCheck --check-prefix=CHECK-FIXED-A6 < %t %s
2828
// CHECK-FIXED-A6: "-target-feature" "+reserve-a6"
2929

30-
// RUN: %clang -target m68k -ffixed-d0 -### %s 2> %t
30+
// RUN: %clang --target=m68k -ffixed-d0 -### %s 2> %t
3131
// RUN: FileCheck --check-prefix=CHECK-FIXED-D0 < %t %s
3232
// CHECK-FIXED-D0: "-target-feature" "+reserve-d0"
3333

34-
// RUN: %clang -target m68k -ffixed-d1 -### %s 2> %t
34+
// RUN: %clang --target=m68k -ffixed-d1 -### %s 2> %t
3535
// RUN: FileCheck --check-prefix=CHECK-FIXED-D1 < %t %s
3636
// CHECK-FIXED-D1: "-target-feature" "+reserve-d1"
3737

38-
// RUN: %clang -target m68k -ffixed-d2 -### %s 2> %t
38+
// RUN: %clang --target=m68k -ffixed-d2 -### %s 2> %t
3939
// RUN: FileCheck --check-prefix=CHECK-FIXED-D2 < %t %s
4040
// CHECK-FIXED-D2: "-target-feature" "+reserve-d2"
4141

42-
// RUN: %clang -target m68k -ffixed-d3 -### %s 2> %t
42+
// RUN: %clang --target=m68k -ffixed-d3 -### %s 2> %t
4343
// RUN: FileCheck --check-prefix=CHECK-FIXED-D3 < %t %s
4444
// CHECK-FIXED-D3: "-target-feature" "+reserve-d3"
4545

46-
// RUN: %clang -target m68k -ffixed-d4 -### %s 2> %t
46+
// RUN: %clang --target=m68k -ffixed-d4 -### %s 2> %t
4747
// RUN: FileCheck --check-prefix=CHECK-FIXED-D4 < %t %s
4848
// CHECK-FIXED-D4: "-target-feature" "+reserve-d4"
4949

50-
// RUN: %clang -target m68k -ffixed-d5 -### %s 2> %t
50+
// RUN: %clang --target=m68k -ffixed-d5 -### %s 2> %t
5151
// RUN: FileCheck --check-prefix=CHECK-FIXED-D5 < %t %s
5252
// CHECK-FIXED-D5: "-target-feature" "+reserve-d5"
5353

54-
// RUN: %clang -target m68k -ffixed-d6 -### %s 2> %t
54+
// RUN: %clang --target=m68k -ffixed-d6 -### %s 2> %t
5555
// RUN: FileCheck --check-prefix=CHECK-FIXED-D6 < %t %s
5656
// CHECK-FIXED-D6: "-target-feature" "+reserve-d6"
5757

58-
// RUN: %clang -target m68k -ffixed-d7 -### %s 2> %t
58+
// RUN: %clang --target=m68k -ffixed-d7 -### %s 2> %t
5959
// RUN: FileCheck --check-prefix=CHECK-FIXED-D7 < %t %s
6060
// CHECK-FIXED-D7: "-target-feature" "+reserve-d7"
6161

6262
// ==== Floating point ====
63-
// RUN: %clang -target m68k -m68000 -mhard-float -### %s 2> %t
63+
// RUN: %clang --target=m68k -m68000 -mhard-float -### %s 2> %t
6464
// RUN: FileCheck --check-prefix=CHECK-MX881 < %t %s
65-
// RUN: %clang -target m68k -m68000 -m68881 -### %s 2> %t
65+
// RUN: %clang --target=m68k -m68000 -m68881 -### %s 2> %t
6666
// RUN: FileCheck --check-prefix=CHECK-MX881 < %t %s
6767

68-
// RUN: %clang -target m68k -m68010 -mhard-float -### %s 2> %t
68+
// RUN: %clang --target=m68k -m68010 -mhard-float -### %s 2> %t
6969
// RUN: FileCheck --check-prefix=CHECK-MX881 < %t %s
70-
// RUN: %clang -target m68k -m68010 -m68881 -### %s 2> %t
70+
// RUN: %clang --target=m68k -m68010 -m68881 -### %s 2> %t
7171
// RUN: FileCheck --check-prefix=CHECK-MX881 < %t %s
7272

73-
// RUN: %clang -target m68k -m68020 -### %s 2> %t
73+
// RUN: %clang --target=m68k -m68020 -### %s 2> %t
7474
// RUN: FileCheck --check-prefix=CHECK-MX881 < %t %s
7575

76-
// RUN: %clang -target m68k -m68030 -### %s 2> %t
76+
// RUN: %clang --target=m68k -m68030 -### %s 2> %t
7777
// RUN: FileCheck --check-prefix=CHECK-MX882 < %t %s
7878

7979
// CHECK-MX881: "-target-feature" "+isa-68881"

clang/test/Driver/m68k-macros.cpp

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,58 +4,58 @@
44
// CHECK-MX881: #define __HAVE_68881__ 1
55
// CHECK-NOMX881-NOT: #define __HAVE_68881__ 1
66

7-
// RUN: %clang -target m68k-unknown-linux -m68000 -std=c++11 -dM -E %s | FileCheck --check-prefixes=CHECK-MX,CHECK-NOMX881 %s
8-
// RUN: %clang -target m68k-unknown-linux -m68000 -std=gnu++11 -dM -E %s | FileCheck --check-prefixes=CHECK-MX,CHECK-MX-GNU,CHECK-NOMX881 %s
9-
// RUN: %clang -target m68k-unknown-linux -m68000 -mhard-float -dM -E %s | FileCheck --check-prefix=CHECK-MX881 %s
10-
// RUN: %clang -target m68k-unknown-linux -m68000 -m68881 -dM -E %s | FileCheck --check-prefix=CHECK-MX881 %s
7+
// RUN: %clang --target=m68k-unknown-linux -m68000 -std=c++11 -dM -E %s | FileCheck --check-prefixes=CHECK-MX,CHECK-NOMX881 %s
8+
// RUN: %clang --target=m68k-unknown-linux -m68000 -std=gnu++11 -dM -E %s | FileCheck --check-prefixes=CHECK-MX,CHECK-MX-GNU,CHECK-NOMX881 %s
9+
// RUN: %clang --target=m68k-unknown-linux -m68000 -mhard-float -dM -E %s | FileCheck --check-prefix=CHECK-MX881 %s
10+
// RUN: %clang --target=m68k-unknown-linux -m68000 -m68881 -dM -E %s | FileCheck --check-prefix=CHECK-MX881 %s
1111
// CHECK-MX: #define __mc68000 1
1212
// CHECK-MX: #define __mc68000__ 1
1313
// CHECK-MX-GNU: #define mc68000 1
1414

15-
// RUN: %clang -target m68k-unknown-linux -m68010 -std=c++11 -dM -E %s | FileCheck --check-prefixes=CHECK-MX10,CHECK-NOMX881 %s
16-
// RUN: %clang -target m68k-unknown-linux -m68010 -std=gnu++11 -dM -E %s | FileCheck --check-prefixes=CHECK-MX10,CHECK-MX10-GNU,CHECK-NOMX881 %s
17-
// RUN: %clang -target m68k-unknown-linux -m68010 -mhard-float -dM -E %s | FileCheck --check-prefix=CHECK-MX881 %s
18-
// RUN: %clang -target m68k-unknown-linux -m68010 -m68881 -dM -E %s | FileCheck --check-prefix=CHECK-MX881 %s
15+
// RUN: %clang --target=m68k-unknown-linux -m68010 -std=c++11 -dM -E %s | FileCheck --check-prefixes=CHECK-MX10,CHECK-NOMX881 %s
16+
// RUN: %clang --target=m68k-unknown-linux -m68010 -std=gnu++11 -dM -E %s | FileCheck --check-prefixes=CHECK-MX10,CHECK-MX10-GNU,CHECK-NOMX881 %s
17+
// RUN: %clang --target=m68k-unknown-linux -m68010 -mhard-float -dM -E %s | FileCheck --check-prefix=CHECK-MX881 %s
18+
// RUN: %clang --target=m68k-unknown-linux -m68010 -m68881 -dM -E %s | FileCheck --check-prefix=CHECK-MX881 %s
1919
// CHECK-MX10: #define __mc68000 1
2020
// CHECK-MX10: #define __mc68000__ 1
2121
// CHECK-MX10: #define __mc68010 1
2222
// CHECK-MX10: #define __mc68010__ 1
2323
// CHECK-MX10-GNU: #define mc68000 1
2424
// CHECK-MX10-GNU: #define mc68010 1
2525

26-
// RUN: %clang -target m68k-unknown-linux -m68020 -std=c++11 -dM -E %s | FileCheck --check-prefixes=CHECK-MX20,CHECK-MX881 %s
27-
// RUN: %clang -target m68k-unknown-linux -m68020 -std=gnu++11 -dM -E %s | FileCheck --check-prefixes=CHECK-MX20,CHECK-MX20-GNU,CHECK-MX881 %s
28-
// RUN: %clang -target m68k-unknown-linux -m68020 -msoft-float -dM -E %s | FileCheck --check-prefix=CHECK-NOMX881 %s
26+
// RUN: %clang --target=m68k-unknown-linux -m68020 -std=c++11 -dM -E %s | FileCheck --check-prefixes=CHECK-MX20,CHECK-MX881 %s
27+
// RUN: %clang --target=m68k-unknown-linux -m68020 -std=gnu++11 -dM -E %s | FileCheck --check-prefixes=CHECK-MX20,CHECK-MX20-GNU,CHECK-MX881 %s
28+
// RUN: %clang --target=m68k-unknown-linux -m68020 -msoft-float -dM -E %s | FileCheck --check-prefix=CHECK-NOMX881 %s
2929
// CHECK-MX20: #define __mc68000 1
3030
// CHECK-MX20: #define __mc68000__ 1
3131
// CHECK-MX20: #define __mc68020 1
3232
// CHECK-MX20: #define __mc68020__ 1
3333
// CHECK-MX20-GNU: #define mc68000 1
3434
// CHECK-MX20-GNU: #define mc68020 1
3535

36-
// RUN: %clang -target m68k-unknown-linux -m68030 -std=c++11 -dM -E %s | FileCheck --check-prefixes=CHECK-MX30,CHECK-MX881 %s
37-
// RUN: %clang -target m68k-unknown-linux -m68030 -std=gnu++11 -dM -E %s | FileCheck --check-prefixes=CHECK-MX30,CHECK-MX30-GNU,CHECK-MX881 %s
38-
// RUN: %clang -target m68k-unknown-linux -m68030 -msoft-float -dM -E %s | FileCheck --check-prefix=CHECK-NOMX881 %s
36+
// RUN: %clang --target=m68k-unknown-linux -m68030 -std=c++11 -dM -E %s | FileCheck --check-prefixes=CHECK-MX30,CHECK-MX881 %s
37+
// RUN: %clang --target=m68k-unknown-linux -m68030 -std=gnu++11 -dM -E %s | FileCheck --check-prefixes=CHECK-MX30,CHECK-MX30-GNU,CHECK-MX881 %s
38+
// RUN: %clang --target=m68k-unknown-linux -m68030 -msoft-float -dM -E %s | FileCheck --check-prefix=CHECK-NOMX881 %s
3939
// CHECK-MX30: #define __mc68000 1
4040
// CHECK-MX30: #define __mc68000__ 1
4141
// CHECK-MX30: #define __mc68030 1
4242
// CHECK-MX30: #define __mc68030__ 1
4343
// CHECK-MX30-GNU: #define mc68000 1
4444
// CHECK-MX30-GNU: #define mc68030 1
4545

46-
// RUN: %clang -target m68k-unknown-linux -m68040 -std=c++11 -dM -E %s | FileCheck --check-prefixes=CHECK-MX40,CHECK-MX881 %s
47-
// RUN: %clang -target m68k-unknown-linux -m68040 -std=gnu++11 -dM -E %s | FileCheck --check-prefixes=CHECK-MX40,CHECK-MX40-GNU,CHECK-MX881 %s
48-
// RUN: %clang -target m68k-unknown-linux -m68040 -msoft-float -dM -E %s | FileCheck --check-prefix=CHECK-NOMX881 %s
46+
// RUN: %clang --target=m68k-unknown-linux -m68040 -std=c++11 -dM -E %s | FileCheck --check-prefixes=CHECK-MX40,CHECK-MX881 %s
47+
// RUN: %clang --target=m68k-unknown-linux -m68040 -std=gnu++11 -dM -E %s | FileCheck --check-prefixes=CHECK-MX40,CHECK-MX40-GNU,CHECK-MX881 %s
48+
// RUN: %clang --target=m68k-unknown-linux -m68040 -msoft-float -dM -E %s | FileCheck --check-prefix=CHECK-NOMX881 %s
4949
// CHECK-MX40: #define __mc68000 1
5050
// CHECK-MX40: #define __mc68000__ 1
5151
// CHECK-MX40: #define __mc68040 1
5252
// CHECK-MX40: #define __mc68040__ 1
5353
// CHECK-MX40-GNU: #define mc68000 1
5454
// CHECK-MX40-GNU: #define mc68040 1
5555

56-
// RUN: %clang -target m68k-unknown-linux -m68060 -std=c++11 -dM -E %s | FileCheck --check-prefixes=CHECK-MX60,CHECK-MX881 %s
57-
// RUN: %clang -target m68k-unknown-linux -m68060 -std=gnu++11 -dM -E %s | FileCheck --check-prefixes=CHECK-MX60,CHECK-MX60-GNU,CHECK-MX881 %s
58-
// RUN: %clang -target m68k-unknown-linux -m68060 -msoft-float -dM -E %s | FileCheck --check-prefix=CHECK-NOMX881 %s
56+
// RUN: %clang --target=m68k-unknown-linux -m68060 -std=c++11 -dM -E %s | FileCheck --check-prefixes=CHECK-MX60,CHECK-MX881 %s
57+
// RUN: %clang --target=m68k-unknown-linux -m68060 -std=gnu++11 -dM -E %s | FileCheck --check-prefixes=CHECK-MX60,CHECK-MX60-GNU,CHECK-MX881 %s
58+
// RUN: %clang --target=m68k-unknown-linux -m68060 -msoft-float -dM -E %s | FileCheck --check-prefix=CHECK-NOMX881 %s
5959
// CHECK-MX60: #define __mc68000 1
6060
// CHECK-MX60: #define __mc68000__ 1
6161
// CHECK-MX60: #define __mc68060 1

clang/test/Driver/m68k-sub-archs.cpp

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
1-
// RUN: %clang -### -target m68k-unknown-linux -mcpu=68000 %s 2>&1 | FileCheck --check-prefix=CHECK-M00 %s
2-
// RUN: %clang -### -target m68k-unknown-linux -mcpu=m68000 %s 2>&1 | FileCheck --check-prefix=CHECK-M00 %s
3-
// RUN: %clang -### -target m68k-unknown-linux -mcpu=M68000 %s 2>&1 | FileCheck --check-prefix=CHECK-M00 %s
4-
// RUN: %clang -### -target m68k-unknown-linux -m68000 %s 2>&1 | FileCheck --check-prefix=CHECK-M00 %s
1+
// RUN: %clang -### --target=m68k-unknown-linux -mcpu=68000 %s 2>&1 | FileCheck --check-prefix=CHECK-M00 %s
2+
// RUN: %clang -### --target=m68k-unknown-linux -mcpu=m68000 %s 2>&1 | FileCheck --check-prefix=CHECK-M00 %s
3+
// RUN: %clang -### --target=m68k-unknown-linux -mcpu=M68000 %s 2>&1 | FileCheck --check-prefix=CHECK-M00 %s
4+
// RUN: %clang -### --target=m68k-unknown-linux -m68000 %s 2>&1 | FileCheck --check-prefix=CHECK-M00 %s
55
// CHECK-M00: "-target-cpu" "M68000"
66

7-
// RUN: %clang -### -target m68k-unknown-linux -mcpu=68010 %s 2>&1 | FileCheck --check-prefix=CHECK-M10 %s
8-
// RUN: %clang -### -target m68k-unknown-linux -mcpu=m68010 %s 2>&1 | FileCheck --check-prefix=CHECK-M10 %s
9-
// RUN: %clang -### -target m68k-unknown-linux -mcpu=M68010 %s 2>&1 | FileCheck --check-prefix=CHECK-M10 %s
10-
// RUN: %clang -### -target m68k-unknown-linux -m68010 %s 2>&1 | FileCheck --check-prefix=CHECK-M10 %s
7+
// RUN: %clang -### --target=m68k-unknown-linux -mcpu=68010 %s 2>&1 | FileCheck --check-prefix=CHECK-M10 %s
8+
// RUN: %clang -### --target=m68k-unknown-linux -mcpu=m68010 %s 2>&1 | FileCheck --check-prefix=CHECK-M10 %s
9+
// RUN: %clang -### --target=m68k-unknown-linux -mcpu=M68010 %s 2>&1 | FileCheck --check-prefix=CHECK-M10 %s
10+
// RUN: %clang -### --target=m68k-unknown-linux -m68010 %s 2>&1 | FileCheck --check-prefix=CHECK-M10 %s
1111
// CHECK-M10: "-target-cpu" "M68010"
1212

13-
// RUN: %clang -### -target m68k-unknown-linux -mcpu=68020 %s 2>&1 | FileCheck --check-prefix=CHECK-M20 %s
14-
// RUN: %clang -### -target m68k-unknown-linux -mcpu=m68020 %s 2>&1 | FileCheck --check-prefix=CHECK-M20 %s
15-
// RUN: %clang -### -target m68k-unknown-linux -mcpu=M68020 %s 2>&1 | FileCheck --check-prefix=CHECK-M20 %s
16-
// RUN: %clang -### -target m68k-unknown-linux -m68020 %s 2>&1 | FileCheck --check-prefix=CHECK-M20 %s
13+
// RUN: %clang -### --target=m68k-unknown-linux -mcpu=68020 %s 2>&1 | FileCheck --check-prefix=CHECK-M20 %s
14+
// RUN: %clang -### --target=m68k-unknown-linux -mcpu=m68020 %s 2>&1 | FileCheck --check-prefix=CHECK-M20 %s
15+
// RUN: %clang -### --target=m68k-unknown-linux -mcpu=M68020 %s 2>&1 | FileCheck --check-prefix=CHECK-M20 %s
16+
// RUN: %clang -### --target=m68k-unknown-linux -m68020 %s 2>&1 | FileCheck --check-prefix=CHECK-M20 %s
1717
// CHECK-M20: "-target-cpu" "M68020"
1818

19-
// RUN: %clang -### -target m68k-unknown-linux -mcpu=68030 %s 2>&1 | FileCheck --check-prefix=CHECK-M30 %s
20-
// RUN: %clang -### -target m68k-unknown-linux -mcpu=m68030 %s 2>&1 | FileCheck --check-prefix=CHECK-M30 %s
21-
// RUN: %clang -### -target m68k-unknown-linux -mcpu=M68030 %s 2>&1 | FileCheck --check-prefix=CHECK-M30 %s
22-
// RUN: %clang -### -target m68k-unknown-linux -m68030 %s 2>&1 | FileCheck --check-prefix=CHECK-M30 %s
19+
// RUN: %clang -### --target=m68k-unknown-linux -mcpu=68030 %s 2>&1 | FileCheck --check-prefix=CHECK-M30 %s
20+
// RUN: %clang -### --target=m68k-unknown-linux -mcpu=m68030 %s 2>&1 | FileCheck --check-prefix=CHECK-M30 %s
21+
// RUN: %clang -### --target=m68k-unknown-linux -mcpu=M68030 %s 2>&1 | FileCheck --check-prefix=CHECK-M30 %s
22+
// RUN: %clang -### --target=m68k-unknown-linux -m68030 %s 2>&1 | FileCheck --check-prefix=CHECK-M30 %s
2323
// CHECK-M30: "-target-cpu" "M68030"
2424

25-
// RUN: %clang -### -target m68k-unknown-linux -mcpu=68040 %s 2>&1 | FileCheck --check-prefix=CHECK-M40 %s
26-
// RUN: %clang -### -target m68k-unknown-linux -mcpu=m68040 %s 2>&1 | FileCheck --check-prefix=CHECK-M40 %s
27-
// RUN: %clang -### -target m68k-unknown-linux -mcpu=M68040 %s 2>&1 | FileCheck --check-prefix=CHECK-M40 %s
28-
// RUN: %clang -### -target m68k-unknown-linux -m68040 %s 2>&1 | FileCheck --check-prefix=CHECK-M40 %s
25+
// RUN: %clang -### --target=m68k-unknown-linux -mcpu=68040 %s 2>&1 | FileCheck --check-prefix=CHECK-M40 %s
26+
// RUN: %clang -### --target=m68k-unknown-linux -mcpu=m68040 %s 2>&1 | FileCheck --check-prefix=CHECK-M40 %s
27+
// RUN: %clang -### --target=m68k-unknown-linux -mcpu=M68040 %s 2>&1 | FileCheck --check-prefix=CHECK-M40 %s
28+
// RUN: %clang -### --target=m68k-unknown-linux -m68040 %s 2>&1 | FileCheck --check-prefix=CHECK-M40 %s
2929
// CHECK-M40: "-target-cpu" "M68040"
3030

31-
// RUN: %clang -### -target m68k-unknown-linux -mcpu=68060 %s 2>&1 | FileCheck --check-prefix=CHECK-M60 %s
32-
// RUN: %clang -### -target m68k-unknown-linux -mcpu=m68060 %s 2>&1 | FileCheck --check-prefix=CHECK-M60 %s
33-
// RUN: %clang -### -target m68k-unknown-linux -mcpu=M68060 %s 2>&1 | FileCheck --check-prefix=CHECK-M60 %s
34-
// RUN: %clang -### -target m68k-unknown-linux -m68060 %s 2>&1 | FileCheck --check-prefix=CHECK-M60 %s
31+
// RUN: %clang -### --target=m68k-unknown-linux -mcpu=68060 %s 2>&1 | FileCheck --check-prefix=CHECK-M60 %s
32+
// RUN: %clang -### --target=m68k-unknown-linux -mcpu=m68060 %s 2>&1 | FileCheck --check-prefix=CHECK-M60 %s
33+
// RUN: %clang -### --target=m68k-unknown-linux -mcpu=M68060 %s 2>&1 | FileCheck --check-prefix=CHECK-M60 %s
34+
// RUN: %clang -### --target=m68k-unknown-linux -m68060 %s 2>&1 | FileCheck --check-prefix=CHECK-M60 %s
3535
// CHECK-M60: "-target-cpu" "M68060"

clang/test/Driver/masm.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
// RUN: %clang -target i386-unknown-linux -masm=intel -S %s -### 2>&1 | FileCheck --check-prefix=CHECK-INTEL %s
2-
// RUN: %clang -target i386-unknown-linux -masm=att -S %s -### 2>&1 | FileCheck --check-prefix=CHECK-ATT %s
1+
// RUN: %clang --target=i386-unknown-linux -masm=intel -S %s -### 2>&1 | FileCheck --check-prefix=CHECK-INTEL %s
2+
// RUN: %clang --target=i386-unknown-linux -masm=att -S %s -### 2>&1 | FileCheck --check-prefix=CHECK-ATT %s
33
// RUN: not %clang --target=i386-unknown-linux -S -masm=somerequired %s -### 2>&1 | FileCheck --check-prefix=CHECK-SOMEREQUIRED %s
4-
// RUN: %clang -target arm-unknown-eabi -S -masm=intel %s -### 2>&1 | FileCheck --check-prefix=CHECK-ARM %s
4+
// RUN: %clang --target=arm-unknown-eabi -S -masm=intel %s -### 2>&1 | FileCheck --check-prefix=CHECK-ARM %s
55
// RUN: %clang_cl --target=x86_64 /FA -### -- %s 2>&1 | FileCheck --check-prefix=CHECK-CL %s
66

77
int f() {

clang/test/Driver/masm.s

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
// RUN: %clang -target i386-unknown-linux -masm=intel -c %s -### 2>&1 | FileCheck --check-prefix=CHECK-INTEL %s
2-
// RUN: %clang -target i386-unknown-linux -masm=att -c %s -### 2>&1 | FileCheck --check-prefix=CHECK-ATT %s
1+
// RUN: %clang --target=i386-unknown-linux -masm=intel -c %s -### 2>&1 | FileCheck --check-prefix=CHECK-INTEL %s
2+
// RUN: %clang --target=i386-unknown-linux -masm=att -c %s -### 2>&1 | FileCheck --check-prefix=CHECK-ATT %s
33
// RUN: not %clang --target=i386-unknown-linux -c -masm=somerequired %s -### 2>&1 | FileCheck --check-prefix=CHECK-SOMEREQUIRED %s
4-
// RUN: %clang -target arm-unknown-eabi -c -masm=intel %s -### 2>&1 | FileCheck --check-prefix=CHECK-ARM %s
4+
// RUN: %clang --target=arm-unknown-eabi -c -masm=intel %s -### 2>&1 | FileCheck --check-prefix=CHECK-ARM %s
55

66
// CHECK-INTEL: -x86-asm-syntax=intel
77
// CHECK-ATT: -x86-asm-syntax=att

clang/test/Driver/mbackchain.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: not %clang --target=s390x -c -### %s -mpacked-stack -mbackchain 2>&1 | FileCheck %s
2-
// RUN: %clang -target s390x -c -### %s -mpacked-stack -mbackchain -msoft-float \
2+
// RUN: %clang --target=s390x -c -### %s -mpacked-stack -mbackchain -msoft-float \
33
// RUN: 2>&1 | FileCheck %s --check-prefix=KERNEL-BUILD
44
// REQUIRES: systemz-registered-target
55

clang/test/Driver/mcount.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
// RUN: %clang -target s390x -c -### %s -mnop-mcount -mrecord-mcount 2>&1 | FileCheck %s
1+
// RUN: %clang --target=s390x -c -### %s -mnop-mcount -mrecord-mcount 2>&1 | FileCheck %s
22

33
// CHECK: "-mnop-mcount"
44
// CHECK: "-mrecord-mcount"
55

6-
// RUN: not %clang -target x86_64 -c -### %s -mnop-mcount -mrecord-mcount 2>&1 | FileCheck --check-prefix=ERR1 %s
7-
// RUN: not %clang -target aarch64 -c -### %s -mnop-mcount -mrecord-mcount 2>&1 | FileCheck --check-prefix=ERR2 %s
6+
// RUN: not %clang --target=x86_64 -c -### %s -mnop-mcount -mrecord-mcount 2>&1 | FileCheck --check-prefix=ERR1 %s
7+
// RUN: not %clang --target=aarch64 -c -### %s -mnop-mcount -mrecord-mcount 2>&1 | FileCheck --check-prefix=ERR2 %s
88

99
// ERR1: error: unsupported option '-mnop-mcount' for target 'x86_64'
1010
// ERR1: error: unsupported option '-mrecord-mcount' for target 'x86_64'

clang/test/Driver/mdouble.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang -target avr -c -### %s -mdouble=64 2>&1 | FileCheck %s
1+
// RUN: %clang --target=avr -c -### %s -mdouble=64 2>&1 | FileCheck %s
22

33
// CHECK: "-mdouble=64"
44

0 commit comments

Comments
 (0)