forked from OSchip/llvm-project
[llvm] Fix broken cases of 'CHECK[^:]*$' in tests
This commit is contained in:
parent
d1f849a284
commit
7f93ff58e1
|
@ -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() {
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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> ({{.*}})
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
; CHECK: br label %if.end
|
||||
; CHECK-NOT: br label %for.cond
|
||||
; CHECK: if.end:
|
||||
; CHECK br label %for.cond
|
||||
; CHECK: br label %for.cond
|
||||
define i1 @test(i32 %a, i32 %b, i32* %c) {
|
||||
entry:
|
||||
br label %for.cond
|
||||
|
|
Loading…
Reference in New Issue