Skip to content

Commit a309a29

Browse files
Updated test case
Signed-off-by: Mikhail R. Gadelha <[email protected]>
1 parent b73c7e0 commit a309a29

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

llvm/test/CodeGen/RISCV/rvv/vxrm-insert-out-of-loop.ll

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -307,28 +307,28 @@ define void @test1(ptr nocapture noundef writeonly %dst, i32 noundef signext %i_
307307
; RV64X60-NEXT: mul t2, a1, s1
308308
; RV64X60-NEXT: mul t3, a3, s1
309309
; RV64X60-NEXT: mul t4, a5, s1
310-
; RV64X60-NEXT: add s1, a0, a6
311-
; RV64X60-NEXT: add s0, a2, a6
310+
; RV64X60-NEXT: add s0, a0, a6
311+
; RV64X60-NEXT: add s1, a2, a6
312312
; RV64X60-NEXT: add t5, a4, a6
313-
; RV64X60-NEXT: add s2, s1, t2
313+
; RV64X60-NEXT: add s0, s0, t2
314314
; RV64X60-NEXT: csrr t2, vlenb
315-
; RV64X60-NEXT: add t3, t3, s0
316-
; RV64X60-NEXT: or t6, a1, a3
315+
; RV64X60-NEXT: add t3, t3, s1
316+
; RV64X60-NEXT: li t6, 32
317317
; RV64X60-NEXT: add t4, t4, t5
318-
; RV64X60-NEXT: sltu s0, a0, t3
319-
; RV64X60-NEXT: sltu s1, a2, s2
320-
; RV64X60-NEXT: and t5, s0, s1
321-
; RV64X60-NEXT: slli t3, t2, 1
322-
; RV64X60-NEXT: slti s1, t6, 0
323-
; RV64X60-NEXT: sltu s0, a0, t4
324-
; RV64X60-NEXT: or t4, t5, s1
325-
; RV64X60-NEXT: sltu s1, a4, s2
318+
; RV64X60-NEXT: sltu t3, a0, t3
319+
; RV64X60-NEXT: sltu s1, a2, s0
320+
; RV64X60-NEXT: and t3, t3, s1
321+
; RV64X60-NEXT: or t5, a1, a3
322+
; RV64X60-NEXT: sltu s1, a0, t4
323+
; RV64X60-NEXT: sltu s0, a4, s0
324+
; RV64X60-NEXT: slti t4, t5, 0
326325
; RV64X60-NEXT: and s0, s0, s1
327326
; RV64X60-NEXT: or s1, a1, a5
328-
; RV64X60-NEXT: li t5, 32
327+
; RV64X60-NEXT: or t4, t3, t4
328+
; RV64X60-NEXT: slli t3, t2, 1
329329
; RV64X60-NEXT: slti s1, s1, 0
330330
; RV64X60-NEXT: or s0, s0, s1
331-
; RV64X60-NEXT: maxu s1, t3, t5
331+
; RV64X60-NEXT: maxu s1, t3, t6
332332
; RV64X60-NEXT: or s0, t4, s0
333333
; RV64X60-NEXT: sltu s1, a6, s1
334334
; RV64X60-NEXT: or s0, s0, s1

0 commit comments

Comments
 (0)