Skip to content

Commit 48c5b6d

Browse files
committed
Format code
1 parent 2748a54 commit 48c5b6d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1403,7 +1403,8 @@ convertOmpParallel(omp::ParallelOp opInst, llvm::IRBuilderBase &builder,
14031403
llvm::Value *nonPrivateVar =
14041404
moduleTranslation.lookupValue(opInst.getPrivateVars()[i]);
14051405
assert(nonPrivateVar);
1406-
moduleTranslation.mapValue(privateDecls[i].getAllocMoldArg(), nonPrivateVar);
1406+
moduleTranslation.mapValue(privateDecls[i].getAllocMoldArg(),
1407+
nonPrivateVar);
14071408

14081409
// in-place convert the private allocation region
14091410
SmallVector<llvm::Value *, 1> phis;
@@ -1475,10 +1476,12 @@ convertOmpParallel(omp::ParallelOp opInst, llvm::IRBuilderBase &builder,
14751476
llvm::Value *nonPrivateVar =
14761477
moduleTranslation.lookupValue(opInst.getPrivateVars()[i]);
14771478
assert(nonPrivateVar);
1478-
moduleTranslation.mapValue(privateDecls[i].getCopyMoldArg(), nonPrivateVar);
1479+
moduleTranslation.mapValue(privateDecls[i].getCopyMoldArg(),
1480+
nonPrivateVar);
14791481

14801482
// map copyRegion lhs arg
1481-
moduleTranslation.mapValue(privateDecls[i].getCopyPrivateArg(), llvmPrivateVars[i]);
1483+
moduleTranslation.mapValue(privateDecls[i].getCopyPrivateArg(),
1484+
llvmPrivateVars[i]);
14821485

14831486
// in-place convert copy region
14841487
builder.SetInsertPoint(builder.GetInsertBlock()->getTerminator());

0 commit comments

Comments
 (0)