An LLVM bug that affect both LDC and SDC. Worth pushing for
deadalnix via Digitalmars-d
digitalmars-d at puremagic.com
Wed Jun 18 11:20:25 PDT 2014
On Wednesday, 18 June 2014 at 09:29:14 UTC, Iain Buclaw via
Digitalmars-d wrote:
> Yeah, I did get that bit. I'm not sure of the optimisation
> though.
>
> IMO, the closure/frame generation should occur *after* inlining.
That doesn't really work that way for LLVM. You generate language
independent IR and optimizations passes run on it. The front can
add passes of its own in the optimization process to do language
dependent optimizations.
More information about the Digitalmars-d
mailing list