I have two instructions , both have flag dependency onto a common instruction. So this forms a closed loop. The instruction scheduler asserts saying that the common instruction is already inserted into FlaggedNodes list....etc. Where can I get more info about the LLVM Instr scheduling pass? TIA, - Sanjiv
On Aug 29, 2008, at 10:43 AM, sanjiv gupta wrote:> I have two instructions , both have flag dependency onto a common > instruction. So this forms a closed loop. The instruction scheduler > asserts saying that the common instruction is already inserted into > FlaggedNodes list....etc.A flag value cannot be read by two nods. That's not legal.> > > Where can I get more info about the LLVM Instr scheduling pass?This is the right place to ask questions. Evan> > > > TIA, > - Sanjiv > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
On Sat, 2008-08-30 at 00:17 -0700, Evan Cheng wrote:> On Aug 29, 2008, at 10:43 AM, sanjiv gupta wrote: > > > I have two instructions , both have flag dependency onto a common > > instruction. So this forms a closed loop. The instruction scheduler > > asserts saying that the common instruction is already inserted into > > FlaggedNodes list....etc. > > A flag value cannot be read by two nods. That's not legal. >I see. What's a good way to model instructions that depend on the side-effect of an earlier instruction? - Sanjiv