cachemeifyoucan wrote: > The main drawback is that it would require substantial changes to the > existing implementation. For example, LTO.h would likely need to be rewritten > almost entirely, potentially affecting 70% or more of the file.
You just need to replace LTO::Config and it should not affect anything in LTO.h? The switch should just be NFCI. I don't think tablegen is needed since everything in LTO::Config is very simple. You might still want to do the round trip if there are some customized handling that is not handled by macro. https://github.com/llvm/llvm-project/pull/219894 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
