diff options
author | Andrew Trick <atrick@apple.com> | 2010-11-09 21:04:34 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2010-11-09 21:04:34 +0000 |
commit | 071d1c063f1080c70a7141d947a96cf511a1ba45 (patch) | |
tree | cc1fae73b6d7fc2f8f2e69c97e3afe89b1b4ca88 /lib/CodeGen/RegAllocBase.h | |
parent | 50a04d067f8803d52cababdabe5c188844c5c210 (diff) | |
download | llvm-071d1c063f1080c70a7141d947a96cf511a1ba45.tar.gz llvm-071d1c063f1080c70a7141d947a96cf511a1ba45.tar.bz2 llvm-071d1c063f1080c70a7141d947a96cf511a1ba45.tar.xz |
Adds RABasic verification and tracing.
(retry now that the windows build is green)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118630 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocBase.h')
-rw-r--r-- | lib/CodeGen/RegAllocBase.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/RegAllocBase.h b/lib/CodeGen/RegAllocBase.h index f4ca972738..fa595fed8b 100644 --- a/lib/CodeGen/RegAllocBase.h +++ b/lib/CodeGen/RegAllocBase.h @@ -128,6 +128,11 @@ protected: // exists, return the interfering register, which may be preg or an alias. unsigned checkPhysRegInterference(LiveInterval& lvr, unsigned preg); +#ifndef NDEBUG + // Verify each LiveIntervalUnion. + void verify(); +#endif + // Helper that spills all live virtual registers currently unified under preg // that interfere with the most recently queried lvr. void spillInterferences(unsigned preg, |