[swift-dev] High-level SIL Optimization: How do I get a FuncRef from the stdlib?

Ben Ng me at benng.me
Wed Nov 16 16:58:15 CST 2016

Correct, that is what I am trying to do.

> On Nov 16, 2016, at 12:22 PM, Arnold Schwaighofer <aschwaighofer at apple.com> wrote:
>  // Really, by the time you look at this in array value prop
>  // this call should have been inline and you would see a call
>  // to:
>  // a.append(contentsOf: [1])

I do not understand this comment; I thought that inlining of stdlib functions happened after high-level SIL optimizations are run. Is my understanding incorrect?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20161116/51b63e67/attachment.html>

More information about the swift-dev mailing list