Skip to content

Commit 30b827e

Browse files
svenvhsys-ce-bb
authored andcommitted
Update llvm.memmove test after LLVM change (#2655)
Update a test after llvm-project commit 92a0654 ("[LowerMemIntrinsics] Lower llvm.memmove to wide memory accesses (#100122)", 2024-07-26). Original commit: KhronosGroup/SPIRV-LLVM-Translator@84f525abd741c30
1 parent 8a14027 commit 30b827e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm-spirv/test/llvm-intrinsics/dynamic-memmove.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ entry:
2121
ret void
2222

2323
; CHECK-LLVM: @memmove_caller(ptr addrspace(1) [[DST:%.*]], ptr addrspace(1) [[SRC:%.*]], i64 [[N:%.*]])
24+
; CHECK-LLVM: [[COMPARE_N_TO_0:%.*]] = icmp eq i64 [[N]], 0
2425
; CHECK-LLVM: [[SRC_CMP:%.*]] = ptrtoint ptr addrspace(1) [[SRC]] to i64
2526
; CHECK-LLVM: [[DST_CMP:%.*]] = ptrtoint ptr addrspace(1) [[DST]] to i64
2627
; CHECK-LLVM: [[COMPARE_SRC_DST:%.*]] = icmp ult i64 [[SRC_CMP]], [[DST_CMP]]
27-
; CHECK-LLVM-NEXT: [[COMPARE_N_TO_0:%.*]] = icmp eq i64 [[N]], 0
2828
; CHECK-LLVM-NEXT: br i1 [[COMPARE_SRC_DST]], label %[[COPY_BACKWARDS:.*]], label %[[COPY_FORWARD:.*]]
2929
; CHECK-LLVM: [[COPY_BACKWARDS]]:
3030
}

0 commit comments

Comments
 (0)