@@ -594,8 +594,7 @@ Fortran::lower::genCallOpAndResult(
594594
595595 builder.create <cuf::KernelLaunchOp>(
596596 loc, funcType.getResults (), funcSymbolAttr, grid_x, grid_y, grid_z,
597- block_x, block_y, block_z, bytes, stream, operands,
598- /* arg_attrs=*/ nullptr , /* res_attrs=*/ nullptr );
597+ block_x, block_y, block_z, bytes, stream, operands);
599598 callNumResults = 0 ;
600599 } else if (caller.requireDispatchCall ()) {
601600 // Procedure call requiring a dynamic dispatch. Call is created with
@@ -622,8 +621,7 @@ Fortran::lower::genCallOpAndResult(
622621 dispatch = builder.create <fir::DispatchOp>(
623622 loc, funcType.getResults (), builder.getStringAttr (procName),
624623 caller.getInputs ()[*passArg], operands,
625- builder.getI32IntegerAttr (*passArg), /* arg_attrs=*/ nullptr ,
626- /* res_attrs=*/ nullptr , procAttrs);
624+ builder.getI32IntegerAttr (*passArg), procAttrs);
627625 } else {
628626 // NOPASS
629627 const Fortran::evaluate::Component *component =
@@ -638,17 +636,15 @@ Fortran::lower::genCallOpAndResult(
638636 passObject = builder.create <fir::LoadOp>(loc, passObject);
639637 dispatch = builder.create <fir::DispatchOp>(
640638 loc, funcType.getResults (), builder.getStringAttr (procName),
641- passObject, operands, nullptr , /* arg_attrs=*/ nullptr ,
642- /* res_attrs=*/ nullptr , procAttrs);
639+ passObject, operands, nullptr , procAttrs);
643640 }
644641 callNumResults = dispatch.getNumResults ();
645642 if (callNumResults != 0 )
646643 callResult = dispatch.getResult (0 );
647644 } else {
648645 // Standard procedure call with fir.call.
649646 auto call = builder.create <fir::CallOp>(
650- loc, funcType.getResults (), funcSymbolAttr, operands,
651- /* arg_attrs=*/ nullptr , /* res_attrs=*/ nullptr , procAttrs);
647+ loc, funcType.getResults (), funcSymbolAttr, operands, procAttrs);
652648
653649 callNumResults = call.getNumResults ();
654650 if (callNumResults != 0 )
0 commit comments