summaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/RegisterCoalescer.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2024-09-24 22:32:53 +0400
committerGitHub <noreply@github.com>2024-09-24 22:32:53 +0400
commit71ca9fcb8dc9ea0e1e3a4a47820edc78c398a85e (patch)
tree9a9a8cf014f391ca4f366b1d9448ed1a0a7519ed /llvm/lib/CodeGen/RegisterCoalescer.cpp
parent6d3d5f30bd58af6d16d0b4b7d32dc3ead1e098ec (diff)
llvm-reduce: Don't print verifier failed machine functions (#109673)
This produces far too much terminal output, particularly for the instruction reduction. Since it doesn't consider the liveness of of the instructions it's deleting, it produces quite a lot of verifier errors.
Diffstat (limited to 'llvm/lib/CodeGen/RegisterCoalescer.cpp')
-rw-r--r--llvm/lib/CodeGen/RegisterCoalescer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/RegisterCoalescer.cpp b/llvm/lib/CodeGen/RegisterCoalescer.cpp
index 99125200c1a4..2e1f498c090d 100644
--- a/llvm/lib/CodeGen/RegisterCoalescer.cpp
+++ b/llvm/lib/CodeGen/RegisterCoalescer.cpp
@@ -4239,7 +4239,7 @@ bool RegisterCoalescer::runOnMachineFunction(MachineFunction &fn) {
JoinSplitEdges = EnableJoinSplits;
if (VerifyCoalescing)
- MF->verify(this, "Before register coalescing");
+ MF->verify(this, "Before register coalescing", &errs());
DbgVRegToValues.clear();
buildVRegToDbgValueMap(fn);
@@ -4299,7 +4299,7 @@ bool RegisterCoalescer::runOnMachineFunction(MachineFunction &fn) {
LLVM_DEBUG(dump());
if (VerifyCoalescing)
- MF->verify(this, "After register coalescing");
+ MF->verify(this, "After register coalescing", &errs());
return true;
}