[llvm-commits] Patch to improve loop-simplify

Cameron Zwarich zwarich at apple.com
Wed Mar 2 23:10:48 PST 2011


Is splitting an edge to create a unique loop backedge better than creating two loops? If the inner loop's backedge is more frequently taken, then you are trading an extra unconditional branch (with phis) on loop entry for an extra unconditional branch (with phis) along the inner loop's backedge. When is this a good trade?

Cameron



More information about the llvm-commits mailing list