summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flang/lib/Lower/OpenMP/OpenMP.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/flang/lib/Lower/OpenMP/OpenMP.cpp b/flang/lib/Lower/OpenMP/OpenMP.cpp
index fa2e5281f0e1..1a64a44be7c6 100644
--- a/flang/lib/Lower/OpenMP/OpenMP.cpp
+++ b/flang/lib/Lower/OpenMP/OpenMP.cpp
@@ -2547,7 +2547,8 @@ genTargetOp(lower::AbstractConverter &converter, lower::SymMap &symTable,
if (!isDevicePtrSyms.empty()) {
fir::FirOpBuilder &builder = converter.getFirOpBuilder();
llvm::DenseMap<const semantics::Symbol *, mlir::Value> symToMapInfo;
- for (auto [symPtr, mapVal] : llvm::zip(hasDeviceAddrSyms, clauseOps.hasDeviceAddrVars))
+ for (auto [symPtr, mapVal] :
+ llvm::zip(hasDeviceAddrSyms, clauseOps.hasDeviceAddrVars))
if (symPtr)
symToMapInfo.try_emplace(symPtr, mapVal);
@@ -2579,8 +2580,7 @@ genTargetOp(lower::AbstractConverter &converter, lower::SymMap &symTable,
converter.getCurrentLocation());
mlir::Value baseOp = info.rawInput;
- if (auto refType =
- mlir::dyn_cast<fir::ReferenceType>(baseOp.getType()))
+ if (auto refType = mlir::dyn_cast<fir::ReferenceType>(baseOp.getType()))
(void)refType; // element type not needed for storage-only mapping
mlir::Value mapVal = createMapInfoOp(