[llvm] [TableGen] Change CodeGenInstruction record members to const (PR #107921)

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 10 04:00:07 PDT 2024


================
@@ -222,8 +222,8 @@ class CGIOperandList {
 
 class CodeGenInstruction {
 public:
-  Record *TheDef;      // The actual record defining this instruction.
-  StringRef Namespace; // The namespace the instruction is in.
+  const Record *TheDef; // The actual record defining this instruction.
----------------
jurahul wrote:

This d

https://github.com/llvm/llvm-project/pull/107921


More information about the llvm-commits mailing list