Skip to content

Commit 378d0f3

Browse files
committed
udpate test case
1 parent f2e23d8 commit 378d0f3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/test/CodeGen/WebAssembly/bulk-memory.ll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226,10 +226,10 @@ define void @memcpy_alloca_src(ptr %dst) {
226226
; BULK-MEM-NEXT: global.get $push[[L0:[0-9]+]]=, __stack_pointer
227227
; BULK-MEM-NEXT: i32.const $push[[L1:[0-9]+]]=, 112
228228
; BULK-MEM-NEXT: i32.sub $push[[L2:[0-9]+]]=, $pop[[L0]], $pop[[L1]]
229-
; BULK-MEM-NEXT: i32.const $push[[L4:[0-9]+]]=, 12
230-
; BULK-MEM-NEXT: i32.add $push[[L5:[0-9]+]]=, $pop[[L2]], $pop[[L4]]
231-
; BULK-MEM-NEXT: i32.const $push[[L6:[0-9]+]]=, 100
232-
; BULK-MEM-NEXT: memory.copy 0, 0, $pop[[L5]], $0, $pop[[L6]]
229+
; BULK-MEM-NEXT: i32.const $push[[L3:[0-9]+]]=, 12
230+
; BULK-MEM-NEXT: i32.add $push[[L4:[0-9]+]]=, $pop[[L2]], $pop[[L3]]
231+
; BULK-MEM-NEXT: i32.const $push[[L5:[0-9]+]]=, 100
232+
; BULK-MEM-NEXT: memory.copy 0, 0, $pop[[L4]], $0, $pop[[L5]]
233233
; BULK-MEM-NEXT: return
234234
define void @memcpy_alloca_dst(ptr %src) {
235235
%a = alloca [100 x i8]

0 commit comments

Comments
 (0)