[llvm-dev] question: access IR class Instruction from DAG SDValue

Ryan Taylor via llvm-dev llvm-dev at lists.llvm.org
Sun Nov 26 07:02:13 PST 2017


It might be a more useful to know what it is you need from the IR in the
DAG or what it is you r trying to do?



On Nov 25, 2017 7:59 PM, "Jonathan via llvm-dev" <llvm-dev at lists.llvm.org>
wrote:

> The llvm backend uses class Instruction in IR handle stage, create SDVaule
> and DAG in DAG translation stage and class MachineInstr in Machine
> instruction translation stage.
> Can I access class Instruction from DAG structure or stage, or access DAG
> and Instruction from MachineInstr structure or stage?
>
> Jonathan
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171126/70e22659/attachment.html>


More information about the llvm-dev mailing list