Commit 561456e7 authored by Paul's avatar Paul
Browse files

Format

parent 10f4486c
......@@ -948,7 +948,7 @@ struct find_commutative_broadcast
p.replace_instruction(ins, ins->get_operator(), args);
}
};
}
} // namespace
void fuse_ops::apply(module& p) const
{
......
......@@ -97,9 +97,12 @@ MlirStringRef make_mlir_string_ref(const std::string_view& s)
template <class F, class T, class Printer>
void mlir_print(F f, T x, Printer printer)
{
f(x,
+[](MlirStringRef s, void* data) { (*reinterpret_cast<Printer*>(data))(to_string_view(s)); },
&printer);
f(
x,
+[](MlirStringRef s, void* data) {
(*reinterpret_cast<Printer*>(data))(to_string_view(s));
},
&printer);
}
template <class F, class T>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment