[PATCH] D130177: [Matrix] Simplify matmuls with scalars

Francis Visoiu Mistrih via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 2 11:59:57 PDT 2022


thegameg added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp:894
       optimizeTransposes();
-      LLVM_DEBUG({
+      if (PrintAfterTransposeOpt) {
         dbgs() << "Dump after matrix transpose optimization:\n";
----------------
fhahn wrote:
> Should we still print this when `-debug` is passed without `PrintAfterTransposeOpt`?
I assumed it's not that useful to dump the whole function in that case, but happy to make it work if you think otherwise.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130177/new/

https://reviews.llvm.org/D130177



More information about the llvm-commits mailing list