[LLVMdev] Copy Instructions?

Chris Lattner clattner at apple.com
Wed Jan 28 10:29:28 PST 2009


On Jan 28, 2009, at 9:44 AM, Owen Anderson wrote:

>
> On Jan 28, 2009, at 9:32 AM, Chris Lattner wrote:
>> Why is this a problem?  All phis execute "atomically".  What problem
>> are you seeing in practice?
>>
>> -Chris
>
> I'm pretty sure we don't actually implement atomic execution of phis.
> I recall having the same basic issue a long time ago, and being
> informed of this.

What?  Of course we do.  This is why phi elimination currently lowers  
each phi into 1+numpreds copies.

-Chris 



More information about the llvm-dev mailing list