[llvm-dev] creating Intrinsic DAG Node
Krzysztof Parzyszek via llvm-dev
llvm-dev at lists.llvm.org
Mon Jul 11 14:16:28 PDT 2016
On 7/11/2016 1:03 PM, Ryan Taylor via llvm-dev wrote:
> So I'm trying to lower ISD::FSQRT and in that lowering I'm trying to
> call an intrinsic (as the first node), the intrinsic has chain but the
> ISD::FSQRT does not. If I lower WO_CHAIN the intrinsic doesn't match in
> table gen, when I try to lower W_CHAIN I can't seem to get the Chain to
> put in the DAG.getNode call.
DAG.getEntryNode() will give you the entry token (i.e. the chain that
starts at the function entry).
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
More information about the llvm-dev