[llvm] 79d5db4 - [NFC][CodeGen] Improve comments in Target.td (#147006)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 4 07:06:07 PDT 2025


Author: Rahul Joshi
Date: 2025-07-04T07:06:04-07:00
New Revision: 79d5db4613d4ff9dea3d794d78469253d0d84885

URL: https://github.com/llvm/llvm-project/commit/79d5db4613d4ff9dea3d794d78469253d0d84885
DIFF: https://github.com/llvm/llvm-project/commit/79d5db4613d4ff9dea3d794d78469253d0d84885.diff

LOG: [NFC][CodeGen] Improve comments in Target.td (#147006)

Added: 
    

Modified: 
    llvm/include/llvm/Target/Target.td

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Target/Target.td b/llvm/include/llvm/Target/Target.td
index ce9a2b2751968..4c83f8a580aa0 100644
--- a/llvm/include/llvm/Target/Target.td
+++ b/llvm/include/llvm/Target/Target.td
@@ -538,11 +538,11 @@ include "llvm/Target/TargetInstrPredicate.td"
 include "llvm/Target/TargetSchedule.td"
 
 class InstructionEncoding {
-  // Size of encoded instruction.
+  // Size of encoded instruction in bytes.
   int Size;
 
-  // The "namespace" in which this instruction exists, on targets like ARM
-  // which multiple ISA namespaces exist.
+  // The "namespace" in which this instruction exists (on targets like ARM
+  // where multiple ISA namespaces exist).
   string DecoderNamespace = "";
 
   // List of predicates which will be turned into isel matching code.


        


More information about the llvm-commits mailing list