[llvm] [MIR] Serialize virtual register flags (PR #110228)
Akshat Oke via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 30 00:41:19 PDT 2024
Akshat-Oke wrote:
> > > Can you omit printing `, flags: [ ]` in the very common case where it is empty? In fact I do not see any tests where it is _not_ empty.
> >
> >
> > I believe that would require changing how YamlO prints optional fields, unless there is another way to do it here I don't know of.
>
> For the other fields, I thought this changed based on the -simplify-mir flag. (Also, -simplify-mir should really be the default)
That does the job, thanks.
https://github.com/llvm/llvm-project/pull/110228
More information about the llvm-commits
mailing list