diff options
Diffstat (limited to 'mlir/unittests/Conversion/PDLToPDLInterp/RootOrderingTest.cpp')
-rw-r--r-- | mlir/unittests/Conversion/PDLToPDLInterp/RootOrderingTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/unittests/Conversion/PDLToPDLInterp/RootOrderingTest.cpp b/mlir/unittests/Conversion/PDLToPDLInterp/RootOrderingTest.cpp index f82ece0..020c0fe 100644 --- a/mlir/unittests/Conversion/PDLToPDLInterp/RootOrderingTest.cpp +++ b/mlir/unittests/Conversion/PDLToPDLInterp/RootOrderingTest.cpp @@ -41,7 +41,7 @@ protected: builder.setInsertionPointToStart(&block); for (int i = 0; i < 4; ++i) // Ops will be deleted when `block` is destroyed. - v[i] = builder.create<ConstantIntOp>(builder.getUnknownLoc(), i, 32); + v[i] = ConstantIntOp::create(builder, builder.getUnknownLoc(), i, 32); } /// Checks that optimal branching on graph has the given cost and |