[LLVMdev] how to define INTRINSIC_W_CHAIN
Krzysztof Parzyszek
kparzysz at codeaurora.org
Fri Jul 18 12:06:12 PDT 2014
On 7/18/2014 2:00 PM, kewuzhang wrote:
>
> I am working on an intrinsic function, which will write to a pointer argument.
> So I am lowering it and think I need to catch it in lowerINTRINSIC_W_CHAIN, but somehow it always fall into INTRINSIC_WO_CHAIN category.
>
> I put [IntrReadwriteArgMem] into my Intrinsic class definition, it did not help.
> tried put [SDNPHasChain] into intrinsic class definition, cause errors” Element type mismatch for list”.
>
> wondering how to flag it to INTRINSIC_W_CHAIN?
Does it have chain in the initial DAG?
-Krzysztof
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
More information about the llvm-dev
mailing list