[LLVMdev] LowerINTRINSIC_W_CHAIN in X86

Anton Korobeynikov anton at korobeynikov.info
Wed Jul 23 10:16:47 PDT 2014


Hello

Chain operand is needed if the intrinsic is reading / writing memory.

On Wed, Jul 23, 2014 at 8:02 PM, kewuzhang <kewu.zhang at amd.com> wrote:
> Hi guys,
>
> In X86ISelLowering.cpp
>
> I saw”
> ...
>  case Intrinsic::x86_rdrand_16:
>   case Intrinsic::x86_rdrand_32:
> ….
> case Intrinsic::x86_avx512_gather_qpd_512:
>   case Intrinsic::x86_avx512_gather_qps_512:
> ..
>> those intrinsics are handled by “LowerINTRINSIC_W_CHAIN”.
>
> How the “INTRINSIC_W_CHAIN” opCode is set instead of “INTRINSIC_WO_CHAIN”?
>
> tks
>
> Kevin
>
>
>
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>



-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University




More information about the llvm-dev mailing list