[llvm-dev] Is a PHI use of another PHI in the same block valid?

Krzysztof Parzyszek via llvm-dev llvm-dev at lists.llvm.org
Fri Feb 26 09:20:46 PST 2016

On 2/26/2016 11:15 AM, Krzysztof Parzyszek via llvm-dev wrote:
> I don't know if the IR spec mentions this case, but it simply makes no
> sense.

It would make sense if there was a back edge to this block---then the 
value used in the PHI would be the value on exit from this block.


Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation

More information about the llvm-dev mailing list