[llvm] f83df08 - [NFC] add comment to keep RegState in sync with doc (#92170)

via llvm-commits llvm-commits at lists.llvm.org
Tue May 14 13:35:07 PDT 2024


Author: Florian Mayer
Date: 2024-05-14T13:35:04-07:00
New Revision: f83df080a817c99e90ed1a0bd5693c5f07ebf567

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

LOG: [NFC] add comment to keep RegState in sync with doc (#92170)

Added: 
    

Modified: 
    llvm/include/llvm/CodeGen/MachineInstrBuilder.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/CodeGen/MachineInstrBuilder.h b/llvm/include/llvm/CodeGen/MachineInstrBuilder.h
index a5b8d3af3cc9b..0a73b0f6b3673 100644
--- a/llvm/include/llvm/CodeGen/MachineInstrBuilder.h
+++ b/llvm/include/llvm/CodeGen/MachineInstrBuilder.h
@@ -40,6 +40,7 @@ class MDNode;
 
 namespace RegState {
 
+// Keep this in sync with the table in MIRLangRef.rst.
 enum {
   /// Register definition.
   Define = 0x2,


        


More information about the llvm-commits mailing list