diff options
Diffstat (limited to 'mlir/lib/Rewrite/ByteCode.cpp')
-rw-r--r-- | mlir/lib/Rewrite/ByteCode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Rewrite/ByteCode.cpp b/mlir/lib/Rewrite/ByteCode.cpp index 90530c9..89735f0 100644 --- a/mlir/lib/Rewrite/ByteCode.cpp +++ b/mlir/lib/Rewrite/ByteCode.cpp @@ -1605,7 +1605,7 @@ void ByteCodeExecutor::executeCreateOperation(PatternRewriter &rewriter, unsigned numResults = read(); if (numResults == kInferTypesMarker) { InferTypeOpInterface::Concept *inferInterface = - state.name.getRegisteredInfo()->getInterface<InferTypeOpInterface>(); + state.name.getInterface<InferTypeOpInterface>(); assert(inferInterface && "expected operation to provide InferTypeOpInterface"); |