We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95fba2d commit 6d7ce02Copy full SHA for 6d7ce02
1 file changed
compiler/_deprecated/mir2loco/src/mir2loco.cpp
@@ -395,7 +395,7 @@ void Transformer::visit(mir::ops::ConstantOp &op)
395
break;
396
}
397
default:
398
- std::runtime_error("Unsupported data type");
+ throw std::runtime_error("Unsupported data type");
399
400
// Add to map
401
_mir2loco_map.emplace(op.getOutput(0), const_node);
0 commit comments