[llvm] c5b10f3 - [Matrix] Use print instead of dump for matrix-print-after-transpose-opt
Francis Visoiu Mistrih via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 2 16:12:38 PDT 2022
Author: Francis Visoiu Mistrih
Date: 2022-09-02T16:12:21-07:00
New Revision: c5b10f348e7d21dc78c38a3d9e3c3656926525ad
URL: https://github.com/llvm/llvm-project/commit/c5b10f348e7d21dc78c38a3d9e3c3656926525ad
DIFF: https://github.com/llvm/llvm-project/commit/c5b10f348e7d21dc78c38a3d9e3c3656926525ad.diff
LOG: [Matrix] Use print instead of dump for matrix-print-after-transpose-opt
We should be able to use this option even if LLVM_ENABLE_DUMP is not on.
(should fix the bots too)
Added:
Modified:
llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp b/llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
index 0a46a551beae..d899447dbe51 100644
--- a/llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
+++ b/llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
@@ -893,7 +893,7 @@ class LowerMatrixIntrinsics {
optimizeTransposes();
if (PrintAfterTransposeOpt) {
dbgs() << "Dump after matrix transpose optimization:\n";
- Func.dump();
+ Func.print(dbgs());
}
}
More information about the llvm-commits
mailing list