[llvm-commits] [llvm] r150060 - in /llvm/trunk: include/llvm/IntrinsicsX86.td lib/Target/X86/X86ISelLowering.cpp lib/Target/X86/X86InstrSSE.td
Duncan Sands
baldrick at free.fr
Wed Feb 8 09:03:44 PST 2012
Hi Dave,
>>> Whether generic IR is a "win" isn't the primary issue here. The issue
>>> is that the user wrote code using intrinsics and expects that exact code
>>> to be in the asm. Whether or not that is the best performing code
>>> possible doesn't matter. It's what they want and we have to respect it.
>>> Our customers demand it.
>>
>> then I guess you will have to use inline asm.
>
> We can't use inline asm. Our compiler does not support it.
your front-end can expand the builtin into the corresponding LLVM inline
asm expression when generating the IR.
Ciao, Duncan.
More information about the llvm-commits
mailing list