Skip to content

Commit d463c53

Browse files
committed
Avoid undef in tests
1 parent 1682677 commit d463c53

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

llvm/test/CodeGen/Thumb2/bf16-pcs.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ define void @caller_soft_bfloat_on_stack() {
144144
; BE-BF16-NEXT: add sp, #8
145145
; BE-BF16-NEXT: pop {r7, pc}
146146
entry:
147-
%ret = call arm_aapcscc bfloat @callee_soft_bfloat_on_stack(float undef, float undef, float undef, float undef, bfloat 1.0)
147+
%ret = call arm_aapcscc bfloat @callee_soft_bfloat_on_stack(float poison, float poison, float poison, float poison, bfloat 1.0)
148148
ret void
149149
}
150150

@@ -311,6 +311,6 @@ define void @caller_hard_bfloat_on_stack() {
311311
; BE-BF16-NEXT: add sp, #8
312312
; BE-BF16-NEXT: pop {r7, pc}
313313
entry:
314-
%ret = call arm_aapcs_vfpcc bfloat @callee_hard_bfloat_on_stack(float undef, float undef, float undef, float undef, float undef, float undef, float undef, float undef, float undef, float undef, float undef, float undef, float undef, float undef, float undef, float undef, bfloat 1.0)
314+
%ret = call arm_aapcs_vfpcc bfloat @callee_hard_bfloat_on_stack(float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, bfloat 1.0)
315315
ret void
316316
}

llvm/test/CodeGen/Thumb2/fp16-pcs.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ define void @caller_soft_half_on_stack() {
140140
; BE-FP16-NEXT: add sp, #8
141141
; BE-FP16-NEXT: pop {r7, pc}
142142
entry:
143-
%ret = call arm_aapcscc half @callee_soft_half_on_stack(float undef, float undef, float undef, float undef, half 1.0)
143+
%ret = call arm_aapcscc half @callee_soft_half_on_stack(float poison, float poison, float poison, float poison, half 1.0)
144144
ret void
145145
}
146146

@@ -283,6 +283,6 @@ define void @caller_hard_half_on_stack() {
283283
; BE-FP16-NEXT: add sp, #8
284284
; BE-FP16-NEXT: pop {r7, pc}
285285
entry:
286-
%ret = call arm_aapcs_vfpcc half @callee_hard_half_on_stack(float undef, float undef, float undef, float undef, float undef, float undef, float undef, float undef, float undef, float undef, float undef, float undef, float undef, float undef, float undef, float undef, half 1.0)
286+
%ret = call arm_aapcs_vfpcc half @callee_hard_half_on_stack(float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, float poison, half 1.0)
287287
ret void
288288
}

0 commit comments

Comments
 (0)