Attribute inference for auto functions?
David Nadlinger
see at klickverbot.at
Wed Apr 17 14:47:07 PDT 2013
On Wednesday, 17 April 2013 at 08:39:37 UTC, qznc wrote:
> An alternative approach would be to do this optimization during
> optimization. However, this means it has to be reimplemented in
> dmd, LLVM, GCC separately. This is e.g. the case for
> pure-inference in C code.
LDC/LLVM does something very similar already (on the IR level),
but obviously not across multiple compilation units, as the
function body has to be available to the optimizer.
David
More information about the Digitalmars-d
mailing list