kbelochapka wrote: > @kbelochapka Ok, you did the macro rewrite for all the options (which I was > unclear, I thought it is limited to LTOConfig). I think the macro rewrite for > just the LTOConfig should be quite safe and I can easily LGTM for that. For > the other options, we might need to consult owner for those components. > @MaskRay @nikic > > Maybe we can do a mix of macro rewrite and round trip arguments, but it maybe > worth a full transition if we cover all the bases. Personal opinion is that a > TableGen is probably not worth the trouble but others might have opinions.
Hi @cachemeifyoucan , thanks for your input, very much appreciate. After thinking it over quite a bit, I decided to take a simpler approach. I replaced bitcode serialization with JSON serialization and, instead of attaching a bitcode module to the summary index, I now write the JSON text directly into a bitcode record. This significantly reduced the complexity of the BitcodeReader and BitcodeWriter changes, and the serialization and deserialization functions are now much slimmer. Hopefully, this approach will also be easier to review since it touches less of the existing code. https://github.com/llvm/llvm-project/pull/219894 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
