File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ def BytecodeOpInterface : OpInterface<"BytecodeOpInterface"> {
4343// `FallbackBytecodeOpInterface`
4444def FallbackBytecodeOpInterface : OpInterface<"FallbackBytecodeOpInterface"> {
4545 let description = [{
46- This interface allows fallback operations direct access to the bytecode
47- property streams .
46+ This interface allows fallback operations sideband access to the
47+ original operation's intrinsic details .
4848 }];
4949 let cppNamespace = "::mlir";
5050
Original file line number Diff line number Diff line change @@ -1117,13 +1117,13 @@ class PropertiesSectionReader {
11171117 dialectReader.withEncodingReader (reader).readBlob (rawProperties)))
11181118 return failure ();
11191119 }
1120-
11211120 // Setup a new reader to read from the `rawProperties` sub-buffer.
11221121 EncodingReader reader (
11231122 StringRef (rawProperties.begin (), rawProperties.size ()), fileLoc);
11241123 DialectReader propReader = dialectReader.withEncodingReader (reader);
11251124
1126- if (auto *iface = opName->getInterface <BytecodeOpInterface>())
1125+ auto *iface = opName->getInterface <BytecodeOpInterface>();
1126+ if (iface)
11271127 return iface->readProperties (propReader, opState);
11281128 if (opName->isRegistered ())
11291129 return propReader.emitError (
You can’t perform that action at this time.
0 commit comments