[LLVMdev] JIT: Inlining introduces intrinsics.
Nick Lewycky
nicholas at mxc.ca
Sat Nov 26 18:45:12 PST 2011
Óscar Fuentes wrote:
> Nick Lewycky<nicholas at mxc.ca> writes:
>
>>> For the record: the cause is that the JIT compiler calls
>>> getPointerToFunction for all defined functions on the module
>>
>> Intrinsics are only declared, they have no definition. The JIT may
>> codegen functions which call those intrinsics, but that shouldn't
>> cause any problems, as codegen should handle them.
>
> Are you suggesting that there should be no problem with this idiom so it
> is a LLVM bug?
Yes.
More information about the llvm-dev
mailing list