<div dir="ltr"><div dir="ltr"><div dir="ltr">On Fri, Jan 11, 2019 at 11:18 AM Davide Italiano via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
After yet another round of discussions, the plan is that of trying not<br>
to slap another attribute on the members, instead going for making<br>
OPTIMIZED_TLBGEN the default and removing always_inline.<br>
I'll do some testing locally (for the Ninja and the Xcode build<br>
generator). Pawel volunteered to take a look at the Visual Studio<br>
situation.<br>
I assume this is going to be the final plan we'll deploy unless<br>
somebody comes with any fundamental objections or there are technical<br>
hurdles down the road.<br></blockquote><div><br></div><div>So, personally I feel strongly that LLVM_OPTIMIZED_TABLEGEN should be off by default, since the it splits up the ninja build graph. We've also run into issues with it with VS: <a href="https://reviews.llvm.org/D54153">https://reviews.llvm.org/D54153</a>  Shelling out to `cmake --build` as part of a build action doesn't seem to work very well for many generators.</div><div><br></div><div>What actually blocks us from removing these always_inline attributes? When I read this thread, I didn't get the sense that debug build tablegen performance was actually important to anyone, but maybe I skimmed too much.</div><div><br></div><div>Maybe I am a luddite because I just build Release+Asserts with debug info enabled and then sprinkle `#pragma clang optimize off` around when I need to debug a particular source file. This keeps build & test fast enough except in the corner cases where a debugger is required.</div></div></div></div>