Make this test a bit more strict.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 21 Oct 2014 00:47:49 +0000 (00:47 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 21 Oct 2014 00:47:49 +0000 (00:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220253 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/AArch64/jump-table.ll

index 69fbd99..73b8dc5 100644 (file)
@@ -56,10 +56,15 @@ lbl4:
 ; CHECK-NEXT: .xword
 
 ; CHECK-PIC-NOT: .data_region
-; CHECK-PIC: .LJTI0_0:
-; CHECK-PIC-NEXT: .word
-; CHECK-PIC-NEXT: .word
-; CHECK-PIC-NEXT: .word
-; CHECK-PIC-NEXT: .word
-; CHECK-PIC-NEXT: .word
+; CHECK-PIC: .L[[VAR1:.*]] = .LBB{{.*}}-.LJTI0_0
+; CHECK-PIC-NEXT: .L[[VAR2:.*]] = .LBB{{.*}}-.LJTI0_0
+; CHECK-PIC-NEXT: .L[[VAR3:.*]] = .LBB{{.*}}-.LJTI0_0
+; CHECK-PIC-NEXT: .L[[VAR4:.*]] = .LBB{{.*}}-.LJTI0_0
+; CHECK-PIC-NEXT: .L[[VAR5:.*]] = .LBB{{.*}}-.LJTI0_0
+; CHECK-PIC-NEXT: .LJTI0_0:
+; CHECK-PIC-NEXT: .word .L[[VAR1]]
+; CHECK-PIC-NEXT: .word .L[[VAR2]]
+; CHECK-PIC-NEXT: .word .L[[VAR3]]
+; CHECK-PIC-NEXT: .word .L[[VAR4]]
+; CHECK-PIC-NEXT: .word .L[[VAR5]]
 ; CHECK-PIC-NOT: .end_data_region