Document that TargetRegisterInfo::contains does not cover virtual registers.
authorDan Gohman <gohman@apple.com>
Tue, 20 Apr 2010 14:51:20 +0000 (14:51 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 20 Apr 2010 14:51:20 +0000 (14:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101903 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetRegisterInfo.h

index c197445884960ee9812c1e8db21e325b9858e466..29b862aa02fe365af11c078a9cddcc15b0ce7b58 100644 (file)
@@ -109,7 +109,7 @@ public:
   }
 
   /// contains - Return true if the specified register is included in this
-  /// register class.
+  /// register class.  This does not include virtual registers.
   bool contains(unsigned Reg) const {
     return RegSet.count(Reg);
   }