@@ -141,7 +141,7 @@ void IRPrinterInstrumentation::runBeforePass(Pass *pass, Operation *op) {
141
141
beforePassFingerPrints.try_emplace (pass, op);
142
142
143
143
config->printBeforeIfEnabled (pass, op, [&](raw_ostream &out) {
144
- out << formatv (" *** IR Dump Before {0} ***" , pass->getName ());
144
+ out << formatv (" // *** IR Dump Before {0} ***" , pass->getName ());
145
145
printIR (op, config->shouldPrintAtModuleScope (), out, OpPrintingFlags ());
146
146
out << " \n\n " ;
147
147
});
@@ -165,7 +165,7 @@ void IRPrinterInstrumentation::runAfterPass(Pass *pass, Operation *op) {
165
165
}
166
166
167
167
config->printAfterIfEnabled (pass, op, [&](raw_ostream &out) {
168
- out << formatv (" *** IR Dump After {0} ***" , pass->getName ());
168
+ out << formatv (" // *** IR Dump After {0} ***" , pass->getName ());
169
169
printIR (op, config->shouldPrintAtModuleScope (), out, OpPrintingFlags ());
170
170
out << " \n\n " ;
171
171
});
@@ -178,7 +178,7 @@ void IRPrinterInstrumentation::runAfterPassFailed(Pass *pass, Operation *op) {
178
178
beforePassFingerPrints.erase (pass);
179
179
180
180
config->printAfterIfEnabled (pass, op, [&](raw_ostream &out) {
181
- out << formatv (" *** IR Dump After {0} Failed ***" , pass->getName ());
181
+ out << formatv (" // *** IR Dump After {0} Failed ***" , pass->getName ());
182
182
printIR (op, config->shouldPrintAtModuleScope (), out,
183
183
OpPrintingFlags ().printGenericOpForm ());
184
184
out << " \n\n " ;
0 commit comments