[LLVMdev] Replacing phi nodes in ScalarEvolution while preserving LCSSA form

Dan Gohman gohman at apple.com
Wed Nov 17 11:39:24 PST 2010


On Nov 17, 2010, at 11:03 AM, Duncan Sands wrote:

> Hi Dan, I whipped up this patch as a more optimal test of whether
> replacing the phi node PN by V will break LCSSA form.  I hope it
> is more or less correct, but since I know nothing about loops it
> could well be completely bogus :)  Can you please comment on it.

Looks good to me.

Thanks,

Dan




More information about the llvm-dev mailing list