[LLVMdev] Stack maps no longer experimental in 3.5

Filip Pizlo
Sat, 07 Jun 2014 15:35:51 -0000

That would work. :-)

What about exposing C API a function to query for the presence of an intrinsic?

-Fil

> On Jun 7, 2014, at 3:37 AM, Rafael Espíndola <rafael.espindola at
gmail.com> wrote:
>
>> On 7 June 2014 00:14, Filip Pizlo <fpizlo at apple.com> wrote:
>> The only setback is to ensure that we synchronize the renaming with
WebKit.
>>
>> The WebKit->LLVM interface currently avoids revision-lock; you can
take any
>> recent revision of either and build a working browser engine. This is
mostly
>> true even when we change the stack map format because of versioning in
the
>> format. I'd rather keep it that way.
>>
>> Is there a way to do this with intrinsics?  I.e. is there a safe way
for
>> WebKit to query whether "llvm.patchpoint" is an available
intrinsic, and
>> then fallback to "llvm.experimental.patchpoint" if it's
not available?
>
> Keeping both names during a smallish time window should be sufficient, no?
>
> Cheers,
> Rafael