[LLVMdev] [llvmdev] Whole function SelectionDAG
Dan Gohman
gohman at apple.com
Tue Jun 8 10:39:07 PDT 2010
The first question is code placement. How is the compiler going to
decide which block (or blocks) to emit an instruction in? The answer
to that will help determine how control relationships should be
represented.
Dan
On Jun 7, 2010, at 11:56 PM, Zhongxing Xu <xuzhongxing at gmail.com> wrote:
> 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
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list