[llvm-commits] [llvm] r52223 - in /llvm/trunk: lib/Transforms/Scalar/TailDuplication.cpp test/Transforms/TailDup/2008-06-11-AvoidDupLoopHeader.ll

Chris Lattner clattner at apple.com
Wed Jun 11 23:18:11 PDT 2008


On Jun 11, 2008, at 12:07 PM, Evan Cheng wrote:
> URL: http://llvm.org/viewvc/llvm-project?rev=52223&view=rev
> Log:
> Avoid duplicating loop header which leads to unnatural loops (and  
> just seem like general badness to me, likely to cause code explosion).
> Patch by Florian Brandner.

What is the compile time impact of this?  How about identifying loop  
headers with a simple DFS walk?

-Chris




More information about the llvm-commits mailing list