From 78d8fdb88bc3cb4ce2f243ecf725bd33128d70dd Mon Sep 17 00:00:00 2001 From: Joe Nash Date: Thu, 9 Jun 2022 10:32:27 -0400 Subject: [PATCH] [AMDGPU] NFC. Comment change to GFX10+ in AsmParser --- llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp b/llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp index 355cf5b..6740a20 100644 --- a/llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp +++ b/llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp @@ -5616,7 +5616,7 @@ bool AMDGPUAsmParser::subtargetHasRegister(const MCRegisterInfo &MRI, if (MRI.regsOverlap(AMDGPU::TTMP12_TTMP13_TTMP14_TTMP15, RegNo)) return isGFX9Plus(); - // GFX10 has 2 more SGPRs 104 and 105. + // GFX10+ has 2 more SGPRs 104 and 105. if (MRI.regsOverlap(AMDGPU::SGPR104_SGPR105, RegNo)) return hasSGPR104_SGPR105(); @@ -5650,7 +5650,7 @@ bool AMDGPUAsmParser::subtargetHasRegister(const MCRegisterInfo &MRI, if (isSI() || isGFX10Plus()) { // No flat_scr on SI. - // On GFX10 flat scratch is not a valid register operand and can only be + // On GFX10Plus flat scratch is not a valid register operand and can only be // accessed with s_setreg/s_getreg. switch (RegNo) { case AMDGPU::FLAT_SCR: -- 2.7.4