diff options
Diffstat (limited to 'mlir/lib/IR/Function.cpp')
| -rw-r--r-- | mlir/lib/IR/Function.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/IR/Function.cpp b/mlir/lib/IR/Function.cpp index 0e777c65f23..cbe84e10247 100644 --- a/mlir/lib/IR/Function.cpp +++ b/mlir/lib/IR/Function.cpp @@ -37,7 +37,7 @@ Function::Function(Kind kind, Location location, StringRef name, // TODO(clattner): Unify this behavior. if (kind == Kind::MLFunc) { // The body of an ML Function always has one block. - auto *entry = new StmtBlock(); + auto *entry = new Block(); blocks.push_back(entry); // Initialize the arguments. |

