[llvm] Enable JumpTableToSwitch pass by default (PR #82546)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 26 22:37:31 PST 2024


nikic wrote:

@alexander-shaposhnikov What is it that actually causes the compile-time increase in the end? Does the transform lead to catastrophic inlining or something?

Flang is a typical representative of the "gratuitous use of terribly designed STL primitives" style of C++ project, so if we're seeing compile-time explosion there, it seems quite likely that we'll also see it in other similar projects. Requiring a flag to work around that is not really acceptable.

https://github.com/llvm/llvm-project/pull/82546


More information about the llvm-commits mailing list