================
@@ -231,6 +232,9 @@ template <> struct MappingTraits<VirtualRegisterDefinition>
{
// so a plain mapOptional with an empty default would still emit the keys
// and change every existing test's output.
// Skip the call on output when empty to keep them off entirely.
+ if (!YamlIO.outputting() || !Reg.AntiHints.empty())
----------------
mssefat wrote:
Fixed it.
https://github.com/llvm/llvm-project/pull/218073
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits