[llvm] [TableGen] More efficiency improvements for encode/decode emission. (PR #84647)

Wang Pengcheng via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 11 05:54:10 PDT 2024


================
@@ -17,6 +17,7 @@
 #include "llvm/ADT/StringMap.h"
 #include "llvm/ADT/StringRef.h"
 #include "llvm/CodeGenTypes/MachineValueType.h"
+#include "llvm/TableGen/Record.h"
----------------
wangpc-pp wrote:

Or we can move implementation of `isVariableLengthEncoding` to `llvm/utils/TableGen/CodeGenInstruction.cpp` so that we don't need to mess includes. :-)

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


More information about the llvm-commits mailing list