[LLVMdev] undefs in phis

David Greene dag at cray.com
Thu Feb 5 18:45:36 PST 2009


On Thursday 05 February 2009 19:55, Evan Cheng wrote:

> hasPHIKill just means it has a phi use so it's not possible to
> determine where the value is killed. Look for LiveIntervalAnalysis.cpp.

Ok.


> %v1645 =  ...
> loop:
> %v1176 = %v1645
> ...
> = %v1176
> = %v1177
> %v1645 = op ...
> %v1177 = %v1176
> jmp loop
>
> When the live interval for v1177 is created, the code should recognize
> v1177 is live-in to the MBB. So even though it's not clear where it's
> defined, it's still clear it's live-in to the MBB.

Yeah, ok, that should work.  Thanks!

                                         -Dave



More information about the llvm-dev mailing list