[LLVMdev] LLVM Instruction Scheduling Pass

sanjiv gupta sanjiv.gupta at microchip.com
Sat Aug 30 02:27:56 PDT 2008


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



More information about the llvm-dev mailing list