[llvm-dev] RFC: New function attribute "patchable-prologue"="<kind>"

Sanjoy Das via llvm-dev llvm-dev at lists.llvm.org
Wed Apr 6 12:47:02 PDT 2016



Reid Kleckner wrote:
> This looks great to me. I think the attribute using byte sizes was
> overly general, but we still want to leave room to implement a few
> different patching schemes. Other than your scheme, the obvious ones are
> the MS one and one that leaves space for a long jump in the prologue.

Agreed.

> I'm assuming this attribute won't affect inlining or other IPO in any
> way, but you should probably mention that in the langref.

I've built a bad reputation for myself, haven't I? ;)

-- Sanjoy


More information about the llvm-dev mailing list