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

via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 11 06:01:25 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"
----------------
aengelke wrote:

Another solution would be to scan the MIR for virtual tile reg definitions when loading from a file. That'd more clean (imho), but I couldn't find a target-specific hook where to put that -- maybe I missed that?

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


More information about the llvm-commits mailing list