Skip to content

Commit f8e5225

Browse files
Rename test vregs
1 parent 4106d32 commit f8e5225

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

llvm/test/CodeGen/SPIRV/FCmpFalse_Vec.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
; CHECK: %[[#Composite:]] = OpConstantComposite %[[#VecTy]] %[[#False]] %[[#False]] %[[#False]] %[[#False]]
88
; CHECK: OpReturnValue %[[#Composite]]
99

10-
define spir_func <4 x i1> @f(<4 x float> %0) {
11-
%2 = fcmp false <4 x float> %0, %0
12-
ret <4 x i1> %2
10+
define spir_func <4 x i1> @test(<4 x float> %a) {
11+
%compare = fcmp false <4 x float> %a, %a
12+
ret <4 x i1> %compare
1313
}

llvm/test/CodeGen/SPIRV/builtin_duplicate.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313

1414
declare spir_func i64 @_Z12get_local_idj(i32) local_unnamed_addr
1515

16-
define spir_kernel void @test_fn(i32 %a) {
16+
define spir_kernel void @test(i32 %a) {
1717
entry:
18-
%3 = tail call i64 @_Z12get_local_idj(i32 0)
18+
%builtin_call = tail call i64 @_Z12get_local_idj(i32 0)
1919
ret void
2020
}

llvm/test/CodeGen/SPIRV/complex-constexpr.ll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33

44
@.str.1 = private unnamed_addr addrspace(1) constant [1 x i8] zeroinitializer, align 1
55

6-
define linkonce_odr hidden spir_func void @foo() {
6+
define linkonce_odr hidden spir_func void @test() {
77
entry:
88
; CHECK: %[[#MinusOne:]] = OpConstant %[[#]] 18446744073709551615
99
; CHECK: %[[#Ptr:]] = OpConvertUToPtr %[[#]] %[[#MinusOne]]
1010
; CHECK: %[[#PtrCast:]] = OpPtrCastToGeneric %[[#]] %[[#]]
1111
; CHECK: %[[#]] = OpFunctionCall %[[#]] %[[#]] %[[#PtrCast]] %[[#Ptr]]
1212

13-
%0 = bitcast ptr addrspace(4) inttoptr (i64 -1 to ptr addrspace(4)) to ptr addrspace(4)
14-
call spir_func void @bar(ptr addrspace(4) addrspacecast (ptr addrspace(1) @.str.1 to ptr addrspace(4)), ptr addrspace(4) %0)
13+
%cast = bitcast ptr addrspace(4) inttoptr (i64 -1 to ptr addrspace(4)) to ptr addrspace(4)
14+
call spir_func void @bar(ptr addrspace(4) addrspacecast (ptr addrspace(1) @.str.1 to ptr addrspace(4)), ptr addrspace(4) %cast)
1515
ret void
1616
}
1717

18-
define linkonce_odr hidden spir_func void @bar(ptr addrspace(4) %__beg, ptr addrspace(4) %__end) {
18+
define linkonce_odr hidden spir_func void @bar(ptr addrspace(4) %begin, ptr addrspace(4) %end) {
1919
entry:
2020
ret void
2121
}

0 commit comments

Comments
 (0)