[LLVMdev] Loop simplification

Andrew Clinton andrew at sidefx.com
Tue Feb 1 14:51:35 PST 2011


On 02/01/2011 05:22 PM, Andrew Clinton wrote:
> Here's what I've got so far - it seems to work, aside from the fact that
> DeleteDeadPHIs is not removing at least one dead PHI in my test program.

PHI nodes don't seem to be cleaned up correctly since in 
llvm::RecursivelyDeleteDeadPHINode the algorithm can only handle 
single-use PHIs while my dead PHI has 2 uses (both self-references).

Andrew



More information about the llvm-dev mailing list