提交 5d40a42e 编写于 作者: N nihuini

shorter blob name

上级 0f325d79
......@@ -33,14 +33,14 @@ static std::string get_mlir_value_uniq_id(const mlir::Value& value)
{
mlir::FileLineColLoc floc = value.getLoc().cast<mlir::FileLineColLoc>();
return floc.getFilename().str() + ":" + std::to_string(floc.getLine()) + ":" + std::to_string(floc.getColumn());
return std::to_string(floc.getLine()) + ":" + std::to_string(floc.getColumn());
}
if (value.getLoc().isa<mlir::FusedLoc>())
{
mlir::FileLineColLoc floc = value.getLoc().cast<mlir::FusedLoc>().getLocations().front().cast<mlir::FileLineColLoc>();
return floc.getFilename().str() + ":" + std::to_string(floc.getLine()) + ":" + std::to_string(floc.getColumn());
return std::to_string(floc.getLine()) + ":" + std::to_string(floc.getColumn());
}
fprintf(stderr, "unhandled get_mlir_value_uniq_id\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册