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

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 11 05:48:35 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"
----------------
phoebewang wrote:

Think again, if just for MIR tests, we may only need to initialize AMXProgModel to ManagedRA and reset to AMXProgModelEnum::None in beginning of X86ISelDAGToDAG.cpp.

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


More information about the llvm-commits mailing list