aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/RegAllocBasic.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-12-18 00:06:56 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-12-18 00:06:56 +0000
commitbf4550e3fb1b4c459bd4a14f8bd8bd22c0a069e7 (patch)
tree4aa761ee5f516b6f31b4f1ee2efdd435213706b8 /llvm/lib/CodeGen/RegAllocBasic.cpp
parent00871c71e9c464800a8d2f2401a5ef68169fce61 (diff)
downloadllvm-bf4550e3fb1b4c459bd4a14f8bd8bd22c0a069e7.zip
llvm-bf4550e3fb1b4c459bd4a14f8bd8bd22c0a069e7.tar.gz
llvm-bf4550e3fb1b4c459bd4a14f8bd8bd22c0a069e7.tar.bz2
Pass a Banner argument to the machine code verifier both from
createMachineVerifierPass and MachineFunction::verify. The banner is printed before the machine code dump, just like the printer pass. llvm-svn: 122113
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBasic.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAllocBasic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocBasic.cpp b/llvm/lib/CodeGen/RegAllocBasic.cpp
index 85a3d7f..1175923 100644
--- a/llvm/lib/CodeGen/RegAllocBasic.cpp
+++ b/llvm/lib/CodeGen/RegAllocBasic.cpp
@@ -484,7 +484,7 @@ bool RABasic::runOnMachineFunction(MachineFunction &mf) {
// spiller. Always use -spiller=inline with -verify-regalloc. Even with the
// inline spiller, some tests fail to verify because the coalescer does not
// always generate verifiable code.
- MF->verify(this);
+ MF->verify(this, "In RABasic::verify");
// Verify that LiveIntervals are partitioned into unions and disjoint within
// the unions.