[llvm] r292853 - [AMDGPU] Fix obsolete comments, spotted by Malcolm Parsons. (NFC)

Eugene Zelenko via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 23 15:41:17 PST 2017


Author: eugenezelenko
Date: Mon Jan 23 17:41:16 2017
New Revision: 292853

URL: http://llvm.org/viewvc/llvm-project?rev=292853&view=rev
Log:
[AMDGPU] Fix obsolete comments, spotted by Malcolm Parsons. (NFC)

Modified:
    llvm/trunk/lib/Target/AMDGPU/AMDGPUAsmPrinter.h

Modified: llvm/trunk/lib/Target/AMDGPU/AMDGPUAsmPrinter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/AMDGPUAsmPrinter.h?rev=292853&r1=292852&r2=292853&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/AMDGPUAsmPrinter.h (original)
+++ llvm/trunk/lib/Target/AMDGPU/AMDGPUAsmPrinter.h Mon Jan 23 17:41:16 2017
@@ -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();
 




More information about the llvm-commits mailing list