hfinkel added inline comments. ================ Comment at: lib/CodeGen/CodeGenAction.cpp:734-737 @@ +733,6 @@ + + OS << llvm::format_decimal(L + 1, LNDigits) << " "; + OS << (LLI.Inlined.Transformed && InlinedCols < 2 ? "I" : " "); + OS << (LLI.Unrolled.Transformed && UnrolledCols < 2 ? "U" : " "); + OS << (LLI.Vectorized.Transformed && VectorizedCols < 2 ? "V" : " "); + ---------------- anemet wrote: > Should the abbreviation be somehow part of the optimization remark API and > passed in just like the pass name? > > It would be nice if someone added optimization remark for a new opt, it would > show up here automatically. I could see how that could make the output too > busy but at least have the option? > So long as we're careful in the backend to respect the limited visual real estate and namespace in this kind of report, we could have the optimizations themselves provide a letter. I'm undecided.
http://reviews.llvm.org/D19678 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits