[LLVMdev] Connecting two insns by a flag using anonymous pattern.

Evan Cheng evan.cheng at apple.com
Thu Oct 30 08:51:34 PDT 2008


I think so. If you are defining your own SDNode's, you need to specify  
one as producing a flag, i.e. SDNPOutFlag; the other will be reading a  
flag, i.e. SDNPInFlag.

Evan

On Oct 29, 2008, at 2:55 AM, sanjiv gupta wrote:

> def : Pat <(A), (B (C))>;
>
> can I connect B and C using a flag here?
>
> TIA,
> -Sanjiv
> _______________________________________________
> 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