Skip to content

Commit 9209d5f

Browse files
committed
clean up diff
1 parent 8a5066c commit 9209d5f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

mlir/include/mlir/Bytecode/BytecodeOpInterface.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ def BytecodeOpInterface : OpInterface<"BytecodeOpInterface"> {
4343
// `FallbackBytecodeOpInterface`
4444
def 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

mlir/lib/Bytecode/Reader/BytecodeReader.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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(

0 commit comments

Comments
 (0)