Skip to content

Commit 5d1de6a

Browse files
committed
Rebasing patch with Lower/OpenMP/OpenMP.cpp changes.
1 parent e6f43df commit 5d1de6a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

flang/lib/Lower/OpenMP/ClauseProcessor.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,14 +146,14 @@ class ClauseProcessor {
146146
llvm::SmallVectorImpl<mlir::Type> &isDeviceTypes,
147147
llvm::SmallVectorImpl<mlir::Location> &isDeviceLocs,
148148
llvm::SmallVectorImpl<const Fortran::semantics::Symbol *>
149-
&isDeviceSymbols) const;
149+
&isDeviceSymbols) const;
150150

151151
bool
152152
processHasDeviceAddr(llvm::SmallVectorImpl<mlir::Value> &operands,
153153
llvm::SmallVectorImpl<mlir::Type> &isDeviceTypes,
154154
llvm::SmallVectorImpl<mlir::Location> &isDeviceLocs,
155155
llvm::SmallVectorImpl<const Fortran::semantics::Symbol *>
156-
&isDeviceSymbols) const;
156+
&isDeviceSymbols) const;
157157

158158
template <typename T>
159159
bool processMotionClauses(Fortran::lower::StatementContext &stmtCtx,

flang/lib/Lower/OpenMP/OpenMP.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1413,8 +1413,8 @@ genTargetOp(Fortran::lower::AbstractConverter &converter,
14131413
? nullptr
14141414
: mlir::ArrayAttr::get(converter.getFirOpBuilder().getContext(),
14151415
dependTypeOperands),
1416-
dependOperands, nowaitAttr, devicePtrOperands,
1417-
deviceAddrOperands, mapOperands);
1416+
dependOperands, nowaitAttr, devicePtrOperands, deviceAddrOperands,
1417+
mapOperands);
14181418

14191419
genBodyOfTargetOp(converter, semaCtx, eval, genNested, targetOp, mapSymTypes,
14201420
mapSymLocs, mapSymbols, currentLocation);

0 commit comments

Comments
 (0)