[PATCH] D43951: [RFC] llvm-mca: a static performance analysis tool.

Andrea Di Biagio via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 5 08:50:19 PST 2018


andreadb marked 7 inline comments as done.
andreadb added inline comments.


================
Comment at: tools/llvm-mca/InstrBuilder.cpp:113-118
+  DEBUG(for (const auto &R
+             : ID.Resources) dbgs()
+            << "\t\tMask=" << R.first << ", cy=" << R.second.size() << '\n';
+        for (const auto &R
+             : ID.Buffers) dbgs()
+        << "\t\tBuffer Mask=" << R << '\n';);
----------------
MatzeB wrote:
> Did clang-format mess this part up?
Yes. I manually fixed it. There was another place where this happened.
It looks like clang-format doesn't like complex statements inside of a DEBUG call.


https://reviews.llvm.org/D43951





More information about the llvm-commits mailing list