@@ -199,10 +199,8 @@ define dso_local void @testi(i8** nocapture noundef readonly %a) local_unnamed_a
199199; RV64I_PAIR-NEXT: .cfi_offset s3, -16
200200; RV64I_PAIR-NEXT: .cfi_offset s4, -24
201201; RV64I_PAIR-NEXT: .cfi_offset s5, -32
202- ; RV64I_PAIR-NEXT: ld s3, 0(a0)
203- ; RV64I_PAIR-NEXT: ld s2, 8(a0)
204- ; RV64I_PAIR-NEXT: ld s5, 16(a0)
205- ; RV64I_PAIR-NEXT: ld s4, 24(a0)
202+ ; RV64I_PAIR-NEXT: mips.ldp s3, s2, 0(a0)
203+ ; RV64I_PAIR-NEXT: mips.ldp s5, s4, 16(a0)
206204; RV64I_PAIR-NEXT: #APP
207205; RV64I_PAIR-NEXT: #NO_APP
208206; RV64I_PAIR-NEXT: mips.ldp s3, s2, 16(sp) # 16-byte Folded Reload
@@ -225,10 +223,8 @@ define dso_local void @testi(i8** nocapture noundef readonly %a) local_unnamed_a
225223; RV64P_8700-NEXT: .cfi_offset s3, -16
226224; RV64P_8700-NEXT: .cfi_offset s4, -24
227225; RV64P_8700-NEXT: .cfi_offset s5, -32
228- ; RV64P_8700-NEXT: ld s3, 0(a0)
229- ; RV64P_8700-NEXT: ld s2, 8(a0)
230- ; RV64P_8700-NEXT: ld s5, 16(a0)
231- ; RV64P_8700-NEXT: ld s4, 24(a0)
226+ ; RV64P_8700-NEXT: mips.ldp s3, s2, 0(a0)
227+ ; RV64P_8700-NEXT: mips.ldp s5, s4, 16(a0)
232228; RV64P_8700-NEXT: #APP
233229; RV64P_8700-NEXT: #NO_APP
234230; RV64P_8700-NEXT: mips.ldp s3, s2, 16(sp) # 16-byte Folded Reload
@@ -251,10 +247,8 @@ define dso_local void @testi(i8** nocapture noundef readonly %a) local_unnamed_a
251247; RV64D_PAIR-NEXT: .cfi_offset s3, -16
252248; RV64D_PAIR-NEXT: .cfi_offset s4, -24
253249; RV64D_PAIR-NEXT: .cfi_offset s5, -32
254- ; RV64D_PAIR-NEXT: ld s3, 0(a0)
255- ; RV64D_PAIR-NEXT: ld s2, 8(a0)
256- ; RV64D_PAIR-NEXT: ld s5, 16(a0)
257- ; RV64D_PAIR-NEXT: ld s4, 24(a0)
250+ ; RV64D_PAIR-NEXT: mips.ldp s3, s2, 0(a0)
251+ ; RV64D_PAIR-NEXT: mips.ldp s5, s4, 16(a0)
258252; RV64D_PAIR-NEXT: #APP
259253; RV64D_PAIR-NEXT: #NO_APP
260254; RV64D_PAIR-NEXT: mips.ldp s3, s2, 16(sp) # 16-byte Folded Reload
@@ -298,12 +292,12 @@ define dso_local void @testi(i8** nocapture noundef readonly %a) local_unnamed_a
298292; RV64D_NOPAIR-NEXT: ret
299293entry:
300294 %arrayidx = getelementptr inbounds i8* , i8** %a , i64 1
301- %0 = load i8* , i8** %arrayidx , align 8
302- %1 = load i8* , i8** %a , align 8
295+ %0 = load i8* , i8** %arrayidx , align 16
296+ %1 = load i8* , i8** %a , align 16
303297 %arrayidx2 = getelementptr inbounds i8* , i8** %a , i64 3
304- %2 = load i8* , i8** %arrayidx2 , align 8
298+ %2 = load i8* , i8** %arrayidx2 , align 16
305299 %arrayidx3 = getelementptr inbounds i8* , i8** %a , i64 2
306- %3 = load i8* , i8** %arrayidx3 , align 8
300+ %3 = load i8* , i8** %arrayidx3 , align 16
307301 tail call void asm sideeffect "" , "{x18},{x19},{x20},{x21}" (i8* %0 , i8* %1 , i8* %2 , i8* %3 )
308302 ret void
309303}
0 commit comments