[LLVMdev] Copy Instructions?

David Greene dag at cray.com
Wed Jan 28 11:00:29 PST 2009


On Wednesday 28 January 2009 12:30, Chris Lattner wrote:
> On Jan 28, 2009, at 9:50 AM, David Greene wrote:
> >> Why is this a problem?  All phis execute "atomically".  What problem
> >> are you seeing in practice?
> >
> > I'm getting incorrect answers.
> >
> > How can a set of phis with a dependence execute simultaenously?
> > There is only one definition of x and it has to happen before the
> > use of
> > x in the phi defining y, doesn't it?
>
> PHIs can't depend on each other.

So just to be clear, this means that all phi uses are considered to execute 
before any phi derfs?

                                           -Dave



More information about the llvm-dev mailing list