Skip to content

Commit 2b48749

Browse files
committed
Rebasing patch with Lower/OpenMP/OpenMP.cpp changes.
1 parent b2693f0 commit 2b48749

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
@@ -148,14 +148,14 @@ class ClauseProcessor {
148148
llvm::SmallVectorImpl<mlir::Type> &isDeviceTypes,
149149
llvm::SmallVectorImpl<mlir::Location> &isDeviceLocs,
150150
llvm::SmallVectorImpl<const Fortran::semantics::Symbol *>
151-
&isDeviceSymbols) const;
151+
&isDeviceSymbols) const;
152152

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

160160
template <typename T>
161161
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
@@ -1157,8 +1157,8 @@ genTargetOp(Fortran::lower::AbstractConverter &converter,
11571157
? nullptr
11581158
: mlir::ArrayAttr::get(converter.getFirOpBuilder().getContext(),
11591159
dependTypeOperands),
1160-
dependOperands, nowaitAttr, devicePtrOperands,
1161-
deviceAddrOperands, mapOperands);
1160+
dependOperands, nowaitAttr, devicePtrOperands, deviceAddrOperands,
1161+
mapOperands);
11621162

11631163
genBodyOfTargetOp(converter, semaCtx, eval, genNested, targetOp, mapSymTypes,
11641164
mapSymLocs, mapSymbols, currentLocation);

0 commit comments

Comments
 (0)