diff options
| author | Chris Lattner <clattner@google.com> | 2018-12-27 15:06:22 -0800 |
|---|---|---|
| committer | jpienaar <jpienaar@google.com> | 2019-03-29 14:40:22 -0700 |
| commit | 4c05f8cac648fc34540d9416ef5eff1c68c0ce38 (patch) | |
| tree | 87976cdfb9891966eee81663146e1fb9f32a3125 /mlir/lib/IR/StmtBlock.cpp | |
| parent | 3f190312f8f7f09b5910bc77e80268402732ce6b (diff) | |
| download | bcm5719-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.cpp | 2 |
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; } |

