[llvm] 9ae28b6 - [AMDGPU] Update a comment after #155882. NFC.

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 28 10:36:42 PDT 2025


Author: Jay Foad
Date: 2025-08-28T18:36:16+01:00
New Revision: 9ae28b61002256eab8d3f983e8444674262c9fbf

URL: https://github.com/llvm/llvm-project/commit/9ae28b61002256eab8d3f983e8444674262c9fbf
DIFF: https://github.com/llvm/llvm-project/commit/9ae28b61002256eab8d3f983e8444674262c9fbf.diff

LOG: [AMDGPU] Update a comment after #155882. NFC.

Added: 
    

Modified: 
    llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.cpp b/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.cpp
index 27c3caed5e2df..fc28b9c96f5af 100644
--- a/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.cpp
+++ b/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.cpp
@@ -253,7 +253,7 @@ static uint32_t getLit64Encoding(uint64_t Val, const MCSubtargetInfo &STI,
       STI.hasFeature(AMDGPU::FeatureInv2PiInlineImm))
     return 248;
 
-  // The rest part needs to align with AMDGPUInstPrinter::printImmediate64.
+  // The rest part needs to align with AMDGPUInstPrinter::printLiteral64.
 
   if (IsFP) {
     return STI.hasFeature(AMDGPU::Feature64BitLiterals) && Lo_32(Val) ? 254


        


More information about the llvm-commits mailing list