diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-12-17 23:16:35 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-12-17 23:16:35 +0000 |
commit | af24964251e27c2dd863239ba66ffd967b593be5 (patch) | |
tree | 6aa2aad96c4ee1e25e25a227c37a5c0230d1a022 /lib/CodeGen/RegAllocBase.h | |
parent | f428eb6c1b09a2322b7a577b0bf2e49dd107bcea (diff) |
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
Diffstat (limited to 'lib/CodeGen/RegAllocBase.h')
-rw-r--r-- | lib/CodeGen/RegAllocBase.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/RegAllocBase.h b/lib/CodeGen/RegAllocBase.h index 438a7d17ba..193c14460c 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<std::pair<float, unsigned> >&); |