sanjiv gupta
2008-Oct-29 09:55 UTC
[LLVMdev] Connecting two insns by a flag using anonymous pattern.
def : Pat <(A), (B (C))>; can I connect B and C using a flag here? TIA, -Sanjiv
Evan Cheng
2008-Oct-30 15:51 UTC
[LLVMdev] Connecting two insns by a flag using anonymous pattern.
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
sanjiv gupta
2008-Oct-31 07:35 UTC
[LLVMdev] Connecting two insns by a flag using anonymous pattern.
On Thu, 2008-10-30 at 08:51 -0700, Evan Cheng wrote:> 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 >The problem is that B produces two values: i8, flag. And I would like to connect C using the flag of B and not by i8.> 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 > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Possibly Parallel Threads
- [LLVMdev] Connecting two insns by a flag using anonymous pattern.
- [LLVMdev] Connecting two insns by a flag using anonymous pattern.
- [LLVMdev] Flags/ConditionCode Model is broken
- [LLVMdev] The meaning of SDNPHasChain
- [LLVMdev] Flags/ConditionCode Model is broken