]> granicus.if.org Git - llvm/commitdiff
[AMDGPU] Fix obsolete comments, spotted by Malcolm Parsons. (NFC)
authorEugene Zelenko <eugene.zelenko@gmail.com>
Mon, 23 Jan 2017 23:41:16 +0000 (23:41 +0000)
committerEugene Zelenko <eugene.zelenko@gmail.com>
Mon, 23 Jan 2017 23:41:16 +0000 (23:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292853 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/AMDGPU/AMDGPUAsmPrinter.h

index 2529be928fbf19a05e98581ba8558ba4881dcde4..99fa157a3ec31dbd1d5c53b4da2d9dcffc08fb50 100644 (file)
@@ -69,13 +69,14 @@ private:
     uint16_t ReservedVGPRCount = 0;
 
     // Fixed SGPR number used to hold wave scratch offset for entire kernel
-    // execution, or uint16_t(-1) if the register is not used or not known.
+    // execution, or std::numeric_limits<uint16_t>::max() if the register is not
+    // used or not known.
     uint16_t DebuggerWavefrontPrivateSegmentOffsetSGPR =
         std::numeric_limits<uint16_t>::max();
 
     // Fixed SGPR number of the first 4 SGPRs used to hold scratch V# for entire
-    // kernel execution, or uint16_t(-1) if the register is not used or not
-    // known.
+    // kernel execution, or std::numeric_limits<uint16_t>::max() if the register
+    // is not used or not known.
     uint16_t DebuggerPrivateSegmentBufferSGPR =
         std::numeric_limits<uint16_t>::max();