Commit 7f93ff58 authored by Jon Roelofs's avatar Jon Roelofs
Browse files

[llvm] Fix broken cases of 'CHECK[^:]*$' in tests

parent d1f849a2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -173,7 +173,7 @@ entry:
  %1 = tail call i8* @llvm.aarch64.ldg(i8* %0, i8* %0)
  %2 = bitcast i8* %1 to i32*
  ret i32* %2
; CHECK ldg x0, [x0]
; CHECK: ldg x0, [x0]
}

define i32* @get_tag1_two_parm(i32* %ret_ptr, i32* %ptr) {
@@ -184,7 +184,7 @@ entry:
  %2 = tail call i8* @llvm.aarch64.ldg(i8* %0, i8* %1)
  %3 = bitcast i8* %2 to i32*
  ret i32* %3
; CHECK ldg x0, [x1]
; CHECK: ldg x0, [x1]
}

define i32* @get_tag1stack() {
+13 −13
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ entry:
  %2 = bitcast <16 x i8> %1 to <4 x float>
  ret <4 x float> %2
; CHECK-LABEL: test0f
; CHECK xxspltw: 34, 34, 3
; CHECK: xxspltw 34, 34, 3
; CHECK-BE-LABEL: test0f
; CHECK-BE: xxspltw 34, 34, 0
}
@@ -21,7 +21,7 @@ entry:
  %2 = bitcast <16 x i8> %1 to <4 x float>
  ret <4 x float> %2
; CHECK-LABEL: test1f
; CHECK xxspltw: 34, 34, 2
; CHECK: xxspltw 34, 34, 2
; CHECK-BE-LABEL: test1f
; CHECK-BE: xxspltw 34, 34, 1
}
@@ -33,8 +33,8 @@ entry:
  %2 = bitcast <16 x i8> %1 to <4 x float>
  ret <4 x float> %2
; CHECK-LABEL: test2f
; CHECK xxspltw: 34, 34, 1
; CHECK-LABEL: test2f
; CHECK: xxspltw 34, 34, 1
; CHECK-BE-LABEL: test2f
; CHECK-BE: xxspltw 34, 34, 2
}

@@ -45,7 +45,7 @@ entry:
  %2 = bitcast <16 x i8> %1 to <4 x float>
  ret <4 x float> %2
; CHECK-LABEL: test3f
; CHECK xxspltw: 34, 34, 0
; CHECK: xxspltw 34, 34, 0
; CHECK-BE-LABEL: test3f
; CHECK-BE: xxspltw 34, 34, 3
}
@@ -57,7 +57,7 @@ entry:
  %2 = bitcast <16 x i8> %1 to <4 x i32>
  ret <4 x i32> %2
; CHECK-LABEL: test0si
; CHECK xxspltw: 34, 34, 3
; CHECK: xxspltw 34, 34, 3
; CHECK-BE-LABEL: test0si
; CHECK-BE: xxspltw 34, 34, 0
}
@@ -69,7 +69,7 @@ entry:
  %2 = bitcast <16 x i8> %1 to <4 x i32>
  ret <4 x i32> %2
; CHECK-LABEL: test1si
; CHECK xxspltw: 34, 34, 2
; CHECK: xxspltw 34, 34, 2
; CHECK-BE-LABEL: test1si
; CHECK-BE: xxspltw 34, 34, 1
}
@@ -81,7 +81,7 @@ entry:
  %2 = bitcast <16 x i8> %1 to <4 x i32>
  ret <4 x i32> %2
; CHECK-LABEL: test2si
; CHECK xxspltw: 34, 34, 1
; CHECK: xxspltw 34, 34, 1
; CHECK-BE-LABEL: test2si
; CHECK-BE: xxspltw 34, 34, 2
}
@@ -93,7 +93,7 @@ entry:
  %2 = bitcast <16 x i8> %1 to <4 x i32>
  ret <4 x i32> %2
; CHECK-LABEL: test3si
; CHECK xxspltw: 34, 34, 0
; CHECK: xxspltw 34, 34, 0
; CHECK-BE-LABEL: test3si
; CHECK-BE: xxspltw 34, 34, 3
}
@@ -105,7 +105,7 @@ entry:
  %2 = bitcast <16 x i8> %1 to <4 x i32>
  ret <4 x i32> %2
; CHECK-LABEL: test0ui
; CHECK xxspltw: 34, 34, 3
; CHECK: xxspltw 34, 34, 3
; CHECK-BE-LABEL: test0ui
; CHECK-BE: xxspltw 34, 34, 0
}
@@ -117,7 +117,7 @@ entry:
  %2 = bitcast <16 x i8> %1 to <4 x i32>
  ret <4 x i32> %2
; CHECK-LABEL: test1ui
; CHECK xxspltw: 34, 34, 2
; CHECK: xxspltw 34, 34, 2
; CHECK-BE-LABEL: test1ui
; CHECK-BE: xxspltw 34, 34, 1
}
@@ -129,7 +129,7 @@ entry:
  %2 = bitcast <16 x i8> %1 to <4 x i32>
  ret <4 x i32> %2
; CHECK-LABEL: test2ui
; CHECK xxspltw: 34, 34, 1
; CHECK: xxspltw 34, 34, 1
; CHECK-BE-LABEL: test2ui
; CHECK-BE: xxspltw 34, 34, 2
}
@@ -141,7 +141,7 @@ entry:
  %2 = bitcast <16 x i8> %1 to <4 x i32>
  ret <4 x i32> %2
; CHECK-LABEL: test3ui
; CHECK xxspltw: 34, 34, 0
; CHECK: xxspltw 34, 34, 0
; CHECK-BE-LABEL: test3ui
; CHECK-BE: xxspltw 34, 34, 3
}
+2 −2
Original line number Diff line number Diff line
@@ -71,8 +71,8 @@
; CHECK:     TypeLeafKind: LF_ENUM (0x1507)
; CHECK:     NumEnumerators: 2
; CHECK:     Properties [ (0x208)
; CHECK        HasUniqueName (0x200)
; CHECK        Nested (0x8)
; CHECK:       HasUniqueName (0x200)
; CHECK:       Nested (0x8)
; CHECK:     ]
; CHECK:     UnderlyingType: int (0x74)
; CHECK:     FieldListType: <field list> ({{.*}})
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@

; CHECK-LABEL: @test_nop
define void @test_nop(i32 %n) {
; CHECK udiv i32 %n, 100
; CHECK: udiv i32 %n, 100
  %div = udiv i32 %n, 100
  ret void
}
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@

; CHECK-LABEL: @test_nop
define void @test_nop(i32 %n) {
; CHECK udiv i32 %n, 100
; CHECK: udiv i32 %n, 100
  %div = udiv i32 %n, 100
  ret void
}
Loading