@@ -743,15 +743,15 @@ genDataOperandOperations(const Fortran::parser::AccObjectList &objectList,
743743 // For UseDeviceOp, if operand is one of a pair resulting from a
744744 // declare operation, create a UseDeviceOp for the other operand as well.
745745 if constexpr (std::is_same_v<Op, mlir::acc::UseDeviceOp>) {
746- if (auto declareOp = mlir::dyn_cast<hlfir::DeclareOp>(baseAddr.getDefiningOp ())) {
746+ if (auto declareOp =
747+ mlir::dyn_cast<hlfir::DeclareOp>(baseAddr.getDefiningOp ())) {
747748 mlir::Value otherAddr = declareOp.getResult (1 );
748749 if (baseAddr != otherAddr) {
749- Op op = createDataEntryOp<Op>(
750- builder, operandLocation, otherAddr,
751- asFortran, bounds, structured, implicit, dataClause,
752- otherAddr.getType (), async,
753- asyncDeviceTypes, asyncOnlyDeviceTypes, unwrapBoxAddr,
754- info.isPresent );
750+ Op op = createDataEntryOp<Op>(builder, operandLocation, otherAddr,
751+ asFortran, bounds, structured, implicit,
752+ dataClause, otherAddr.getType (), async,
753+ asyncDeviceTypes, asyncOnlyDeviceTypes,
754+ unwrapBoxAddr, info.isPresent );
755755 dataOperands.push_back (op.getAccVar ());
756756 }
757757 }
0 commit comments