From c58ca7290717259c29e46cc407d7b88dce0f89de Mon Sep 17 00:00:00 2001 From: Eugene Zelenko Date: Mon, 23 Jan 2017 23:41:16 +0000 Subject: [PATCH] [AMDGPU] Fix obsolete comments, spotted by Malcolm Parsons. (NFC) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292853 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/AMDGPU/AMDGPUAsmPrinter.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/Target/AMDGPU/AMDGPUAsmPrinter.h b/lib/Target/AMDGPU/AMDGPUAsmPrinter.h index 2529be928fb..99fa157a3ec 100644 --- a/lib/Target/AMDGPU/AMDGPUAsmPrinter.h +++ b/lib/Target/AMDGPU/AMDGPUAsmPrinter.h @@ -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::max() if the register is not + // used or not known. uint16_t DebuggerWavefrontPrivateSegmentOffsetSGPR = std::numeric_limits::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::max() if the register + // is not used or not known. uint16_t DebuggerPrivateSegmentBufferSGPR = std::numeric_limits::max(); -- 2.50.1