We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de2f5bc commit b39958cCopy full SHA for b39958c
mlir/lib/IR/BuiltinDialectBytecode.cpp
@@ -33,7 +33,8 @@ namespace {
33
static unsigned getIntegerBitWidth(DialectBytecodeReader &reader, Type type) {
34
if (auto intType = dyn_cast<IntegerType>(type)) {
35
return intType.getWidth();
36
- } else if (llvm::isa<IndexType>(type)) {
+ }
37
+ if (llvm::isa<IndexType>(type)) {
38
return IndexType::kInternalStorageBitWidth;
39
}
40
reader.emitError()
0 commit comments