Refine tls-load-hoist llvm option from string value to bool
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I'm not really sure that attribute should be there, especially after the optimization is enabled by default and cl::opt is inverted.
Comment Actions
I think we can leave end user a chance to enable it or not. Maybe for debug purpose.
Comment Actions
I don't believe that is consistent with the current situation, i.e. is there any prior art for this, an attribute that specifically tells to perform some optimization?
How should it play with inliner, should it stop the inlining if they mismatch on the caller-callee, or should it be propagated to callee? Etc.