Skip to content

Commit

Permalink
[MC] Clean up tests that depend on implicit .text in MCAsmStreamer
Browse files Browse the repository at this point in the history
  • Loading branch information
MaskRay committed Dec 23, 2024
1 parent 688acb1 commit 8db7327
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions llvm/test/MC/AsmParser/exprs-invalid.s
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// RUN: not llvm-mc -triple x86_64-apple-darwin10 %s 2> %t.err | FileCheck %s
// RUN: not llvm-mc -triple x86_64-apple-darwin10 %s 2> %t.err
// RUN: FileCheck --check-prefix=CHECK-ERRORS %s < %t.err
// CHECK: .section __TEXT,__text,regular,pure_instructions
// CHECK-ERRORS: :[[#@LINE+1]]:10: error: invalid octal number
.long 80+08

Expand Down
1 change: 0 additions & 1 deletion llvm/test/MC/GOFF/ppa1.ll
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
; CHECK: .short 0 * Length/4 of Parms
; CHECK: .long L#func_end0-L#EPM_void_test_0 * Length of Code
; CHECK: .long L#EPM_void_test_0-L#PPA1_void_test_0
; CHECK: .section ".text"
; CHECK: * -- End function
define void @void_test() {
entry:
Expand Down
4 changes: 1 addition & 3 deletions llvm/test/MC/XCOFF/inlineasm.s
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// RUN: llvm-mc -filetype=asm -triple powerpc-ibm-aix-xcoff %s | FileCheck %s

// CHECK-LABEL: .csect ..text..[PR],5
// CHECK:L..tmp0:
// CHECK-NEXT: lwarx 3, 0, 4
// CHECK: lwarx 3, 0, 4
// CHECK-NEXT: cmpw 5, 3
// CHECK-NEXT: bne- 0, L..tmp1
// CHECK-NEXT: stwcx. 6, 0, 4
Expand Down

0 comments on commit 8db7327

Please sign in to comment.