[llvm-commits] Edge dominance in the presence of multiple edges between two BB

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Aug 10 10:30:18 PDT 2012


> Oh, I see.  Could GVN avoid the issue by just merging dataflow facts
> if a branch has multiple identical deistinations?

I guess it could, but I would like to share the logic if possible.

> If we have to do this; I'd prefer the original patch; looping over all
> the successors of a branch can get expensive in edge cases with swich
> and/or indirectbr.

I will try to code an hybrid.

> -Eli

Thanks,
Rafael



More information about the llvm-commits mailing list