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

Florian Mayer via llvm-commits llvm-commits at lists.llvm.org
Tue May 14 13:19:17 PDT 2024


https://github.com/fmayer created https://github.com/llvm/llvm-project/pull/92170

None

>From 0ee1f28fac6d8c7c13eb13759e48d0b9b41e2d68 Mon Sep 17 00:00:00 2001
From: Florian Mayer <fmayer at google.com>
Date: Tue, 14 May 2024 13:18:53 -0700
Subject: [PATCH] [NFC] add comment to keep RegState in sync with doc

---
 llvm/include/llvm/CodeGen/MachineInstrBuilder.h | 1 +
 1 file changed, 1 insertion(+)

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