Skip to content

Commit d5d9b81

Browse files
committed
Format
1 parent 675acb2 commit d5d9b81

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

flang/lib/Lower/OpenACC.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)