[llvm] [AMDGPU] Register allocation anti-hints to reduce MFMA hazard NOPs (PR #156943)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 23 20:49:18 PDT 2025


================
@@ -209,6 +210,11 @@ template <> struct MappingTraits<VirtualRegisterDefinition> {
                        StringValue()); // Don't print out when it's empty.
     YamlIO.mapOptional("flags", Reg.RegisterFlags,
                        std::vector<FlowStringValue>());
+    if (!YamlIO.outputting() ||
----------------
arsenm wrote:

This all needs dedicated MIR parsing tests in test/CodeGen/MIR, including error cases 

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


More information about the llvm-commits mailing list