Skip to content

Commit 4f7ff6b

Browse files
committed
[MC] Clean up tests that implicit .text MCAsmStreamer
1 parent edca1d9 commit 4f7ff6b

23 files changed

+10
-23
lines changed

llvm/test/MC/AArch64/armv8.3a-complex.s

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+complxnum,+fullfp16 -o - %s 2>%t | FileCheck %s
22
// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.3a,+fullfp16 -o - %s 2>%t | FileCheck %s
3+
.text
34
fcmla v0.4h, v1.4h, v2.4h, #0
45
fcmla v0.8h, v1.8h, v2.8h, #0
56
fcmla v0.2s, v1.2s, v2.2s, #0

llvm/test/MC/AArch64/armv8.3a-complex_nofp16.s

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+complxnum -o - %s 2>%t | FileCheck %s
2+
.text
23
fcmla v0.2s, v1.2s, v2.2s, #0
34
fcmla v0.4s, v1.4s, v2.4s, #0
45
fcmla v0.2d, v1.2d, v2.2d, #0

llvm/test/MC/AArch64/armv8.3a-pauth.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22

33
paciasp
44

5-
// CHECK: .text
65
// CHECK: paciasp // encoding: [0x3f,0x23,0x03,0xd5]

llvm/test/MC/AArch64/armv8.3a-signed-pointer.s

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// RUN: FileCheck --check-prefix=CHECK-REQ %s < %t.2
77

88
// ALL: .text
9+
.text
910
mrs x0, apiakeylo_el1
1011
mrs x0, apiakeyhi_el1
1112
mrs x0, apibkeylo_el1

llvm/test/MC/AArch64/armv8.4a-flagm.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
cfinv
44

5-
// CHECK: .text
6-
cfinv // encoding: [0x1f,0x40,0x00,0xd5]
5+
// CHECK: encoding: [0x1f,0x40,0x00,0xd5]
6+
cfinv

llvm/test/MC/AArch64/armv8.6a-amvs.s

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: llvm-mc -triple aarch64 -show-encoding -mattr=+amvs -o - %s | FileCheck %s
22
// RUN: llvm-mc -triple aarch64 -show-encoding -mattr=+v8.6a -o - %s | FileCheck %s
33
// RUN: not llvm-mc -triple aarch64 -show-encoding -o - %s 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR
4+
.text
45
mrs x0, AMCG1IDR_EL0
56
msr AMEVCNTVOFF00_EL2, x0
67
msr AMEVCNTVOFF01_EL2, x0

llvm/test/MC/AArch64/armv9.6a-ras.s

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,5 @@ dc CIVAPS, x3
66
// NO-POPS: error: DC CIGDVAPS requires: pops
77
// NO-POPS: error: DC CIVAPS requires: pops
88

9-
# HAS-POPS: .text
10-
119
# HAS-POPS: dc cigdvaps, x3 // encoding: [0xa3,0x7f,0x08,0xd5]
1210
# HAS-POPS-NEXT: dc civaps, x3 // encoding: [0x23,0x7f,0x08,0xd5]

llvm/test/MC/AArch64/armv9.6a-rme-gpc3.s

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
mrs x3, GPCBW_EL3
66
msr GPCBW_EL3, x4
77

8-
# CHECK: .text
9-
# CHECK-NEXT: .func:
8+
# CHECK: .func:
109
# CHECK-NEXT: apas x0 // encoding: [0x1f,0x70,0x0e,0xd5]
1110
# CHECK-NEXT: mrs x3, GPCBW_EL3 // encoding: [0xa3,0x21,0x3e,0xd5]
1211
# CHECK-NEXT: msr GPCBW_EL3, x4 // encoding: [0xa4,0x21,0x1e,0xd5]

llvm/test/MC/ARM/directive-object_arch-3.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
.arch armv7
66
.object_arch armv4
77

8-
@ CHECK: .text
98
@ CHECK: .arch armv7
109
@ CHECK: .object_arch armv4
1110

llvm/test/MC/ARM/inst-directive-emit.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
emit_asm:
1010
.inst.w 0xf2400000, 0xf2c00000
1111

12-
@ CHECK: .text
1312
@ CHECK: .code 16
1413
@ CHECK: .p2align 2
1514
@ CHECK: .globl emit_asm

0 commit comments

Comments
 (0)