aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBlockPlacement.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/MachineBlockPlacement.cpp
parent6d3d5f30bd58af6d16d0b4b7d32dc3ead1e098ec (diff)
downloadllvm-71ca9fcb8dc9ea0e1e3a4a47820edc78c398a85e.zip
llvm-71ca9fcb8dc9ea0e1e3a4a47820edc78c398a85e.tar.gz
llvm-71ca9fcb8dc9ea0e1e3a4a47820edc78c398a85e.tar.bz2
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/MachineBlockPlacement.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineBlockPlacement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineBlockPlacement.cpp b/llvm/lib/CodeGen/MachineBlockPlacement.cpp
index 7dcb287..a52c82d 100644
--- a/llvm/lib/CodeGen/MachineBlockPlacement.cpp
+++ b/llvm/lib/CodeGen/MachineBlockPlacement.cpp
@@ -3698,7 +3698,7 @@ void MachineBlockPlacement::assignBlockOrder(
#ifndef NDEBUG
// Make sure we correctly constructed all branches.
- F->verify(this, "After optimized block reordering");
+ F->verify(this, "After optimized block reordering", &errs());
#endif
}