@@ -44,7 +44,7 @@ define i32 @caller_i64_in_regs() nounwind {
44
44
; ILP32-NEXT: $x10 = COPY [[C]](s32)
45
45
; ILP32-NEXT: $x11 = COPY [[UV]](s32)
46
46
; ILP32-NEXT: $x12 = COPY [[UV1]](s32)
47
- ; ILP32-NEXT: PseudoCALL target-flags(riscv-plt ) @callee_i64_in_regs, csr_ilp32_lp64, implicit-def $x1, implicit $x10, implicit $x11, implicit $x12, implicit-def $x10
47
+ ; ILP32-NEXT: PseudoCALL target-flags(riscv-call ) @callee_i64_in_regs, csr_ilp32_lp64, implicit-def $x1, implicit $x10, implicit $x11, implicit $x12, implicit-def $x10
48
48
; ILP32-NEXT: ADJCALLSTACKUP 0, 0, implicit-def $x2, implicit $x2
49
49
; ILP32-NEXT: [[COPY:%[0-9]+]]:_(s32) = COPY $x10
50
50
; ILP32-NEXT: $x10 = COPY [[COPY]](s32)
@@ -59,7 +59,7 @@ define i32 @caller_i64_in_regs() nounwind {
59
59
; ILP32F-NEXT: $x10 = COPY [[C]](s32)
60
60
; ILP32F-NEXT: $x11 = COPY [[UV]](s32)
61
61
; ILP32F-NEXT: $x12 = COPY [[UV1]](s32)
62
- ; ILP32F-NEXT: PseudoCALL target-flags(riscv-plt ) @callee_i64_in_regs, csr_ilp32f_lp64f, implicit-def $x1, implicit $x10, implicit $x11, implicit $x12, implicit-def $x10
62
+ ; ILP32F-NEXT: PseudoCALL target-flags(riscv-call ) @callee_i64_in_regs, csr_ilp32f_lp64f, implicit-def $x1, implicit $x10, implicit $x11, implicit $x12, implicit-def $x10
63
63
; ILP32F-NEXT: ADJCALLSTACKUP 0, 0, implicit-def $x2, implicit $x2
64
64
; ILP32F-NEXT: [[COPY:%[0-9]+]]:_(s32) = COPY $x10
65
65
; ILP32F-NEXT: $x10 = COPY [[COPY]](s32)
@@ -74,7 +74,7 @@ define i32 @caller_i64_in_regs() nounwind {
74
74
; ILP32D-NEXT: $x10 = COPY [[C]](s32)
75
75
; ILP32D-NEXT: $x11 = COPY [[UV]](s32)
76
76
; ILP32D-NEXT: $x12 = COPY [[UV1]](s32)
77
- ; ILP32D-NEXT: PseudoCALL target-flags(riscv-plt ) @callee_i64_in_regs, csr_ilp32d_lp64d, implicit-def $x1, implicit $x10, implicit $x11, implicit $x12, implicit-def $x10
77
+ ; ILP32D-NEXT: PseudoCALL target-flags(riscv-call ) @callee_i64_in_regs, csr_ilp32d_lp64d, implicit-def $x1, implicit $x10, implicit $x11, implicit $x12, implicit-def $x10
78
78
; ILP32D-NEXT: ADJCALLSTACKUP 0, 0, implicit-def $x2, implicit $x2
79
79
; ILP32D-NEXT: [[COPY:%[0-9]+]]:_(s32) = COPY $x10
80
80
; ILP32D-NEXT: $x10 = COPY [[COPY]](s32)
@@ -162,7 +162,7 @@ define i32 @caller_many_scalars() nounwind {
162
162
; ILP32-NEXT: $x15 = COPY [[C4]](s32)
163
163
; ILP32-NEXT: $x16 = COPY [[C5]](s32)
164
164
; ILP32-NEXT: $x17 = COPY [[UV2]](s32)
165
- ; ILP32-NEXT: PseudoCALL target-flags(riscv-plt ) @callee_many_scalars, csr_ilp32_lp64, implicit-def $x1, implicit $x10, implicit $x11, implicit $x12, implicit $x13, implicit $x14, implicit $x15, implicit $x16, implicit $x17, implicit-def $x10
165
+ ; ILP32-NEXT: PseudoCALL target-flags(riscv-call ) @callee_many_scalars, csr_ilp32_lp64, implicit-def $x1, implicit $x10, implicit $x11, implicit $x12, implicit $x13, implicit $x14, implicit $x15, implicit $x16, implicit $x17, implicit-def $x10
166
166
; ILP32-NEXT: ADJCALLSTACKUP 8, 0, implicit-def $x2, implicit $x2
167
167
; ILP32-NEXT: [[COPY1:%[0-9]+]]:_(s32) = COPY $x10
168
168
; ILP32-NEXT: $x10 = COPY [[COPY1]](s32)
@@ -198,7 +198,7 @@ define i32 @caller_many_scalars() nounwind {
198
198
; ILP32F-NEXT: $x15 = COPY [[C4]](s32)
199
199
; ILP32F-NEXT: $x16 = COPY [[C5]](s32)
200
200
; ILP32F-NEXT: $x17 = COPY [[UV2]](s32)
201
- ; ILP32F-NEXT: PseudoCALL target-flags(riscv-plt ) @callee_many_scalars, csr_ilp32f_lp64f, implicit-def $x1, implicit $x10, implicit $x11, implicit $x12, implicit $x13, implicit $x14, implicit $x15, implicit $x16, implicit $x17, implicit-def $x10
201
+ ; ILP32F-NEXT: PseudoCALL target-flags(riscv-call ) @callee_many_scalars, csr_ilp32f_lp64f, implicit-def $x1, implicit $x10, implicit $x11, implicit $x12, implicit $x13, implicit $x14, implicit $x15, implicit $x16, implicit $x17, implicit-def $x10
202
202
; ILP32F-NEXT: ADJCALLSTACKUP 8, 0, implicit-def $x2, implicit $x2
203
203
; ILP32F-NEXT: [[COPY1:%[0-9]+]]:_(s32) = COPY $x10
204
204
; ILP32F-NEXT: $x10 = COPY [[COPY1]](s32)
@@ -234,7 +234,7 @@ define i32 @caller_many_scalars() nounwind {
234
234
; ILP32D-NEXT: $x15 = COPY [[C4]](s32)
235
235
; ILP32D-NEXT: $x16 = COPY [[C5]](s32)
236
236
; ILP32D-NEXT: $x17 = COPY [[UV2]](s32)
237
- ; ILP32D-NEXT: PseudoCALL target-flags(riscv-plt ) @callee_many_scalars, csr_ilp32d_lp64d, implicit-def $x1, implicit $x10, implicit $x11, implicit $x12, implicit $x13, implicit $x14, implicit $x15, implicit $x16, implicit $x17, implicit-def $x10
237
+ ; ILP32D-NEXT: PseudoCALL target-flags(riscv-call ) @callee_many_scalars, csr_ilp32d_lp64d, implicit-def $x1, implicit $x10, implicit $x11, implicit $x12, implicit $x13, implicit $x14, implicit $x15, implicit $x16, implicit $x17, implicit-def $x10
238
238
; ILP32D-NEXT: ADJCALLSTACKUP 8, 0, implicit-def $x2, implicit $x2
239
239
; ILP32D-NEXT: [[COPY1:%[0-9]+]]:_(s32) = COPY $x10
240
240
; ILP32D-NEXT: $x10 = COPY [[COPY1]](s32)
@@ -261,7 +261,7 @@ define i32 @caller_small_scalar_ret() nounwind {
261
261
; ILP32: bb.1 (%ir-block.0):
262
262
; ILP32-NEXT: [[C:%[0-9]+]]:_(s64) = G_CONSTANT i64 987654321234567
263
263
; ILP32-NEXT: ADJCALLSTACKDOWN 0, 0, implicit-def $x2, implicit $x2
264
- ; ILP32-NEXT: PseudoCALL target-flags(riscv-plt ) @callee_small_scalar_ret, csr_ilp32_lp64, implicit-def $x1, implicit-def $x10, implicit-def $x11
264
+ ; ILP32-NEXT: PseudoCALL target-flags(riscv-call ) @callee_small_scalar_ret, csr_ilp32_lp64, implicit-def $x1, implicit-def $x10, implicit-def $x11
265
265
; ILP32-NEXT: ADJCALLSTACKUP 0, 0, implicit-def $x2, implicit $x2
266
266
; ILP32-NEXT: [[COPY:%[0-9]+]]:_(s32) = COPY $x10
267
267
; ILP32-NEXT: [[COPY1:%[0-9]+]]:_(s32) = COPY $x11
@@ -275,7 +275,7 @@ define i32 @caller_small_scalar_ret() nounwind {
275
275
; ILP32F: bb.1 (%ir-block.0):
276
276
; ILP32F-NEXT: [[C:%[0-9]+]]:_(s64) = G_CONSTANT i64 987654321234567
277
277
; ILP32F-NEXT: ADJCALLSTACKDOWN 0, 0, implicit-def $x2, implicit $x2
278
- ; ILP32F-NEXT: PseudoCALL target-flags(riscv-plt ) @callee_small_scalar_ret, csr_ilp32f_lp64f, implicit-def $x1, implicit-def $x10, implicit-def $x11
278
+ ; ILP32F-NEXT: PseudoCALL target-flags(riscv-call ) @callee_small_scalar_ret, csr_ilp32f_lp64f, implicit-def $x1, implicit-def $x10, implicit-def $x11
279
279
; ILP32F-NEXT: ADJCALLSTACKUP 0, 0, implicit-def $x2, implicit $x2
280
280
; ILP32F-NEXT: [[COPY:%[0-9]+]]:_(s32) = COPY $x10
281
281
; ILP32F-NEXT: [[COPY1:%[0-9]+]]:_(s32) = COPY $x11
@@ -289,7 +289,7 @@ define i32 @caller_small_scalar_ret() nounwind {
289
289
; ILP32D: bb.1 (%ir-block.0):
290
290
; ILP32D-NEXT: [[C:%[0-9]+]]:_(s64) = G_CONSTANT i64 987654321234567
291
291
; ILP32D-NEXT: ADJCALLSTACKDOWN 0, 0, implicit-def $x2, implicit $x2
292
- ; ILP32D-NEXT: PseudoCALL target-flags(riscv-plt ) @callee_small_scalar_ret, csr_ilp32d_lp64d, implicit-def $x1, implicit-def $x10, implicit-def $x11
292
+ ; ILP32D-NEXT: PseudoCALL target-flags(riscv-call ) @callee_small_scalar_ret, csr_ilp32d_lp64d, implicit-def $x1, implicit-def $x10, implicit-def $x11
293
293
; ILP32D-NEXT: ADJCALLSTACKUP 0, 0, implicit-def $x2, implicit $x2
294
294
; ILP32D-NEXT: [[COPY:%[0-9]+]]:_(s32) = COPY $x10
295
295
; ILP32D-NEXT: [[COPY1:%[0-9]+]]:_(s32) = COPY $x11
@@ -323,7 +323,7 @@ define i32 @caller_small_struct_ret() nounwind {
323
323
; ILP32-LABEL: name: caller_small_struct_ret
324
324
; ILP32: bb.1 (%ir-block.0):
325
325
; ILP32-NEXT: ADJCALLSTACKDOWN 0, 0, implicit-def $x2, implicit $x2
326
- ; ILP32-NEXT: PseudoCALL target-flags(riscv-plt ) @callee_small_struct_ret, csr_ilp32_lp64, implicit-def $x1, implicit-def $x10, implicit-def $x11
326
+ ; ILP32-NEXT: PseudoCALL target-flags(riscv-call ) @callee_small_struct_ret, csr_ilp32_lp64, implicit-def $x1, implicit-def $x10, implicit-def $x11
327
327
; ILP32-NEXT: ADJCALLSTACKUP 0, 0, implicit-def $x2, implicit $x2
328
328
; ILP32-NEXT: [[COPY:%[0-9]+]]:_(s32) = COPY $x10
329
329
; ILP32-NEXT: [[COPY1:%[0-9]+]]:_(p0) = COPY $x11
@@ -335,7 +335,7 @@ define i32 @caller_small_struct_ret() nounwind {
335
335
; ILP32F-LABEL: name: caller_small_struct_ret
336
336
; ILP32F: bb.1 (%ir-block.0):
337
337
; ILP32F-NEXT: ADJCALLSTACKDOWN 0, 0, implicit-def $x2, implicit $x2
338
- ; ILP32F-NEXT: PseudoCALL target-flags(riscv-plt ) @callee_small_struct_ret, csr_ilp32f_lp64f, implicit-def $x1, implicit-def $x10, implicit-def $x11
338
+ ; ILP32F-NEXT: PseudoCALL target-flags(riscv-call ) @callee_small_struct_ret, csr_ilp32f_lp64f, implicit-def $x1, implicit-def $x10, implicit-def $x11
339
339
; ILP32F-NEXT: ADJCALLSTACKUP 0, 0, implicit-def $x2, implicit $x2
340
340
; ILP32F-NEXT: [[COPY:%[0-9]+]]:_(s32) = COPY $x10
341
341
; ILP32F-NEXT: [[COPY1:%[0-9]+]]:_(p0) = COPY $x11
@@ -347,7 +347,7 @@ define i32 @caller_small_struct_ret() nounwind {
347
347
; ILP32D-LABEL: name: caller_small_struct_ret
348
348
; ILP32D: bb.1 (%ir-block.0):
349
349
; ILP32D-NEXT: ADJCALLSTACKDOWN 0, 0, implicit-def $x2, implicit $x2
350
- ; ILP32D-NEXT: PseudoCALL target-flags(riscv-plt ) @callee_small_struct_ret, csr_ilp32d_lp64d, implicit-def $x1, implicit-def $x10, implicit-def $x11
350
+ ; ILP32D-NEXT: PseudoCALL target-flags(riscv-call ) @callee_small_struct_ret, csr_ilp32d_lp64d, implicit-def $x1, implicit-def $x10, implicit-def $x11
351
351
; ILP32D-NEXT: ADJCALLSTACKUP 0, 0, implicit-def $x2, implicit $x2
352
352
; ILP32D-NEXT: [[COPY:%[0-9]+]]:_(s32) = COPY $x10
353
353
; ILP32D-NEXT: [[COPY1:%[0-9]+]]:_(p0) = COPY $x11
@@ -404,7 +404,7 @@ define i32 @caller_large_struct_ret() nounwind {
404
404
; ILP32-NEXT: [[FRAME_INDEX:%[0-9]+]]:_(p0) = G_FRAME_INDEX %stack.0
405
405
; ILP32-NEXT: ADJCALLSTACKDOWN 0, 0, implicit-def $x2, implicit $x2
406
406
; ILP32-NEXT: $x10 = COPY [[FRAME_INDEX]](p0)
407
- ; ILP32-NEXT: PseudoCALL target-flags(riscv-plt ) @callee_large_struct_ret, csr_ilp32_lp64, implicit-def $x1, implicit $x10
407
+ ; ILP32-NEXT: PseudoCALL target-flags(riscv-call ) @callee_large_struct_ret, csr_ilp32_lp64, implicit-def $x1, implicit $x10
408
408
; ILP32-NEXT: ADJCALLSTACKUP 0, 0, implicit-def $x2, implicit $x2
409
409
; ILP32-NEXT: [[LOAD:%[0-9]+]]:_(s32) = G_LOAD [[FRAME_INDEX]](p0) :: (dereferenceable load (s32) from %ir.1)
410
410
; ILP32-NEXT: [[C:%[0-9]+]]:_(s32) = G_CONSTANT i32 12
@@ -419,7 +419,7 @@ define i32 @caller_large_struct_ret() nounwind {
419
419
; ILP32F-NEXT: [[FRAME_INDEX:%[0-9]+]]:_(p0) = G_FRAME_INDEX %stack.0
420
420
; ILP32F-NEXT: ADJCALLSTACKDOWN 0, 0, implicit-def $x2, implicit $x2
421
421
; ILP32F-NEXT: $x10 = COPY [[FRAME_INDEX]](p0)
422
- ; ILP32F-NEXT: PseudoCALL target-flags(riscv-plt ) @callee_large_struct_ret, csr_ilp32f_lp64f, implicit-def $x1, implicit $x10
422
+ ; ILP32F-NEXT: PseudoCALL target-flags(riscv-call ) @callee_large_struct_ret, csr_ilp32f_lp64f, implicit-def $x1, implicit $x10
423
423
; ILP32F-NEXT: ADJCALLSTACKUP 0, 0, implicit-def $x2, implicit $x2
424
424
; ILP32F-NEXT: [[LOAD:%[0-9]+]]:_(s32) = G_LOAD [[FRAME_INDEX]](p0) :: (dereferenceable load (s32) from %ir.1)
425
425
; ILP32F-NEXT: [[C:%[0-9]+]]:_(s32) = G_CONSTANT i32 12
@@ -434,7 +434,7 @@ define i32 @caller_large_struct_ret() nounwind {
434
434
; ILP32D-NEXT: [[FRAME_INDEX:%[0-9]+]]:_(p0) = G_FRAME_INDEX %stack.0
435
435
; ILP32D-NEXT: ADJCALLSTACKDOWN 0, 0, implicit-def $x2, implicit $x2
436
436
; ILP32D-NEXT: $x10 = COPY [[FRAME_INDEX]](p0)
437
- ; ILP32D-NEXT: PseudoCALL target-flags(riscv-plt ) @callee_large_struct_ret, csr_ilp32d_lp64d, implicit-def $x1, implicit $x10
437
+ ; ILP32D-NEXT: PseudoCALL target-flags(riscv-call ) @callee_large_struct_ret, csr_ilp32d_lp64d, implicit-def $x1, implicit $x10
438
438
; ILP32D-NEXT: ADJCALLSTACKUP 0, 0, implicit-def $x2, implicit $x2
439
439
; ILP32D-NEXT: [[LOAD:%[0-9]+]]:_(s32) = G_LOAD [[FRAME_INDEX]](p0) :: (dereferenceable load (s32) from %ir.1)
440
440
; ILP32D-NEXT: [[C:%[0-9]+]]:_(s32) = G_CONSTANT i32 12
0 commit comments