[llvm-dev] [RFC] IRBuilder polymorphism: Templates/virtual

Michael Kruse via llvm-dev llvm-dev at lists.llvm.org
Mon Feb 10 12:34:32 PST 2020


Am Do., 6. Feb. 2020 um 04:07 Uhr schrieb Nicolai Hähnle via llvm-dev
<llvm-dev at lists.llvm.org>:
> I am in favor of this, for all the reasons you mention. In fact, I was
> tempted to do this myself in the past. This is particularly an issue
> for external tools that want to leverage LLVM without forking the
> upstream, which is a usecase that LLVM should support better.
>
> Generally, I think LLVM errs too much on the side of monomorphizing
> everything, which sounds nice in theory, but the runtime performance
> implications are often questionable, and the compile time certainly
> suffers. I think we should take some time to think through the details
> of this change, but we should make it.

+1


More information about the llvm-dev mailing list