Fix a test case to not depend on asm comment syntax, so as to be portable

Too many different comment characters - instead of trying to account for
them all, instead disable the comments and just check for end-of-line
instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225020 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Blaikie 2014-12-30 23:33:55 +00:00
parent 6fcdb2681c
commit 855324b9de

View File

@ -1,4 +1,4 @@
; RUN: llc -filetype=asm -O0 < %s | FileCheck %s
; RUN: llc -filetype=asm -asm-verbose=0 -O0 < %s | FileCheck %s
; RUN: llc -filetype=obj -O0 < %s | llvm-dwarfdump -debug-dump=line - | FileCheck %s --check-prefix=INT
; Check that the assembly output properly handles is_stmt changes. And since
@ -12,21 +12,21 @@
; }
; CHECK: .loc 1 2 0 {{#|@|//}}
; CHECK: .loc 1 2 0{{$}}
; CHECK-NOT: .loc
; CHECK: .loc 1 3 3 prologue_end {{#|@|//}}
; CHECK: .loc 1 3 3 prologue_end{{$}}
; CHECK-NOT: .loc
; CHECK: .loc 1 3 9 is_stmt 0 {{#|@|//}}
; CHECK: .loc 1 3 9 is_stmt 0{{$}}
; CHECK-NOT: .loc
; CHECK: .loc 1 3 15 {{#|@|//}}
; CHECK: .loc 1 3 15{{$}}
; CHECK-NOT: .loc
; CHECK: .loc 1 4 3 is_stmt 1 {{#|@|//}}
; CHECK: .loc 1 4 3 is_stmt 1{{$}}
; CHECK-NOT: .loc
; CHECK: .loc 1 4 9 is_stmt 0 {{#|@|//}}
; CHECK: .loc 1 4 9 is_stmt 0{{$}}
; CHECK-NOT: .loc
; CHECK: .loc 1 4 15 {{#|@|//}}
; CHECK: .loc 1 4 15{{$}}
; CHECK-NOT: .loc
; CHECK: .loc 1 5 1 is_stmt 1 {{#|@|//}}
; CHECK: .loc 1 5 1 is_stmt 1{{$}}
; INT: {{^}}Address
; INT: -----