[llvm-branch-commits] [mlir] 4744478 - [mlir][openmp][NFCI] Rename `continuationIP` to `continuationBlock`
Sourabh Singh Tomar via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jan 12 02:21:38 PST 2021
Author: Sourabh Singh Tomar
Date: 2021-01-12T15:45:36+05:30
New Revision: 4744478b99f1a99b2cdf7e4070a93086e5ae4800
URL: https://github.com/llvm/llvm-project/commit/4744478b99f1a99b2cdf7e4070a93086e5ae4800
DIFF: https://github.com/llvm/llvm-project/commit/4744478b99f1a99b2cdf7e4070a93086e5ae4800.diff
LOG: [mlir][openmp][NFCI] Rename `continuationIP` to `continuationBlock`
Argument is a `Block` not a `point`.
Added:
Modified:
mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp b/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
index 70e35c7c7997..87ec35cc1c42 100644
--- a/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
+++ b/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
@@ -412,11 +412,11 @@ ModuleTranslation::convertOmpParallel(Operation &opInst,
LogicalResult bodyGenStatus = success();
auto bodyGenCB = [&](InsertPointTy allocaIP, InsertPointTy codeGenIP,
- llvm::BasicBlock &continuationIP) {
+ llvm::BasicBlock &continuationBlock) {
// ParallelOp has only one region associated with it.
auto ®ion = cast<omp::ParallelOp>(opInst).getRegion();
convertOmpOpRegions(region, "omp.par.region", valueMapping, blockMapping,
- *codeGenIP.getBlock(), continuationIP, builder,
+ *codeGenIP.getBlock(), continuationBlock, builder,
bodyGenStatus);
};
@@ -517,11 +517,11 @@ LogicalResult ModuleTranslation::convertOmpMaster(Operation &opInst,
LogicalResult bodyGenStatus = success();
auto bodyGenCB = [&](InsertPointTy allocaIP, InsertPointTy codeGenIP,
- llvm::BasicBlock &continuationIP) {
+ llvm::BasicBlock &continuationBlock) {
// MasterOp has only one region associated with it.
auto ®ion = cast<omp::MasterOp>(opInst).getRegion();
convertOmpOpRegions(region, "omp.master.region", valueMapping, blockMapping,
- *codeGenIP.getBlock(), continuationIP, builder,
+ *codeGenIP.getBlock(), continuationBlock, builder,
bodyGenStatus);
};
More information about the llvm-branch-commits
mailing list