[llvm] 78d8fdb - [AMDGPU] NFC. Comment change to GFX10+ in AsmParser
Joe Nash via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 10 10:03:04 PDT 2022
Author: Joe Nash
Date: 2022-06-10T12:34:07-04:00
New Revision: 78d8fdb88bc3cb4ce2f243ecf725bd33128d70dd
URL: https://github.com/llvm/llvm-project/commit/78d8fdb88bc3cb4ce2f243ecf725bd33128d70dd
DIFF: https://github.com/llvm/llvm-project/commit/78d8fdb88bc3cb4ce2f243ecf725bd33128d70dd.diff
LOG: [AMDGPU] NFC. Comment change to GFX10+ in AsmParser
Added:
Modified:
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp b/llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
index 355cf5baa122..6740a2059b6c 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:
More information about the llvm-commits
mailing list