[llvm] [X86] Add AMXProgModel to YAML serialization (PR #94988)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 11 05:35:31 PDT 2024


================
@@ -16,13 +16,43 @@
 #include "llvm/ADT/ArrayRef.h"
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/CodeGen/CallingConvLower.h"
+#include "llvm/CodeGen/MIRYamlMapping.h"
 #include "llvm/CodeGen/MachineFunction.h"
+#include "llvm/Support/YAMLTraits.h"
----------------
nikic wrote:

Is it possible to do this without pulling in YAML infrastructure in X86 headers? For example by keeping all the YAML stuff inside X86TargetMachine.cpp?

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


More information about the llvm-commits mailing list