summaryrefslogtreecommitdiffstats
path: root/mlir/lib/IR/StmtBlock.cpp
diff options
context:
space:
mode:
authorChris Lattner <clattner@google.com>2018-12-27 15:06:22 -0800
committerjpienaar <jpienaar@google.com>2019-03-29 14:40:22 -0700
commit4c05f8cac648fc34540d9416ef5eff1c68c0ce38 (patch)
tree87976cdfb9891966eee81663146e1fb9f32a3125 /mlir/lib/IR/StmtBlock.cpp
parent3f190312f8f7f09b5910bc77e80268402732ce6b (diff)
downloadbcm5719-llvm-4c05f8cac648fc34540d9416ef5eff1c68c0ce38.tar.gz
bcm5719-llvm-4c05f8cac648fc34540d9416ef5eff1c68c0ce38.zip
Merge CFGFuncBuilder/MLFuncBuilder/FuncBuilder together into a single new
FuncBuilder class. Also rename SSAValue.cpp to Value.cpp This is step 12/n towards merging instructions and statements, NFC. PiperOrigin-RevId: 227067644
Diffstat (limited to 'mlir/lib/IR/StmtBlock.cpp')
-rw-r--r--mlir/lib/IR/StmtBlock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/IR/StmtBlock.cpp b/mlir/lib/IR/StmtBlock.cpp
index 996375c3026..a50861a3060 100644
--- a/mlir/lib/IR/StmtBlock.cpp
+++ b/mlir/lib/IR/StmtBlock.cpp
@@ -174,7 +174,7 @@ BasicBlock *BasicBlock::splitBasicBlock(iterator splitBefore) {
// Create an unconditional branch to the new block, and move our terminator
// to the new block.
- CFGFuncBuilder(this).create<BranchOp>(branchLoc, newBB);
+ FuncBuilder(this).create<BranchOp>(branchLoc, newBB);
return newBB;
}
OpenPOWER on IntegriCloud