From af24964251e27c2dd863239ba66ffd967b593be5 Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Fri, 17 Dec 2010 23:16:35 +0000 Subject: Make the -verify-regalloc command line option available to base classes as RegAllocBase::VerifyEnabled. Run the machine code verifier in a few interesting places during RegAllocGreedy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122107 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/RegAllocBase.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/CodeGen/RegAllocBase.h') diff --git a/lib/CodeGen/RegAllocBase.h b/lib/CodeGen/RegAllocBase.h index 438a7d1..193c144 100644 --- a/lib/CodeGen/RegAllocBase.h +++ b/lib/CodeGen/RegAllocBase.h @@ -156,6 +156,10 @@ protected: // Use this group name for NamedRegionTimer. static const char *TimerGroupName; +public: + /// VerifyEnabled - True when -verify-regalloc is given. + static bool VerifyEnabled; + private: void seedLiveVirtRegs(std::priority_queue >&); -- cgit v1.1