[LLVMdev] [llvmdev] Whole function SelectionDAG

Zhongxing Xu xuzhongxing at gmail.com
Mon Jun 7 23:56:03 PDT 2010


I am trying to build a DAG for a whole function. The first problem I met is
to assign a user for the last instruction of each basic block, be it BRCOND
or other node. There is no natural user for such nodes. Without user, it
will be removed in later phases. My idea is to use it as chain for nodes in
the next basic block. Is this reasonable?

-Zhongxing Xu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100608/3f5e4900/attachment.html>


More information about the llvm-dev mailing list