Skip to content

Commit 45f03bb

Browse files
committed
change to fir.call
1 parent a3158e2 commit 45f03bb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

flang/test/Fir/alloc.fir

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,10 +373,10 @@ func.func @alloca_unlimited_polymorphic_box() {
373373
%2 = fir.alloca !fir.box<none>
374374
%3 = fir.alloca !fir.box<!fir.array<?xnone>>
375375
// Add real uses so allocas are not trivially dead.
376-
func.call @__use_class_none(%0) : (!fir.ref<!fir.class<none>>) -> ()
377-
func.call @__use_class_array(%1) : (!fir.ref<!fir.class<!fir.array<?xnone>>>) -> ()
378-
func.call @__use_box_none(%2) : (!fir.ref<!fir.box<none>>) -> ()
379-
func.call @__use_box_array(%3) : (!fir.ref<!fir.box<!fir.array<?xnone>>>) -> ()
376+
fir.call @__use_class_none(%0) : (!fir.ref<!fir.class<none>>) -> ()
377+
fir.call @__use_class_array(%1) : (!fir.ref<!fir.class<!fir.array<?xnone>>>) -> ()
378+
fir.call @__use_box_none(%2) : (!fir.ref<!fir.box<none>>) -> ()
379+
fir.call @__use_box_array(%3) : (!fir.ref<!fir.box<!fir.array<?xnone>>>) -> ()
380380
return
381381
}
382382
func.func private @__use_class_none(!fir.ref<!fir.class<none>>) -> ()

0 commit comments

Comments
 (0)