[llvm-commits] [llvm] r95454 - in /llvm/trunk: lib/Transforms/Scalar/LoopUnrollPass.cpp test/CodeGen/X86/nancvt.ll
Duncan Sands
baldrick at free.fr
Fri Feb 5 16:30:15 PST 2010
Hi Jakob,
>>> Don't unroll loops containing function calls.
>> what is the reasoning behind this?
>
> A function call is likely to take a significant amount of time, so the relative gain from unrolling the loop is very small. The code size increase is still there, though.
is this based on experimental results?
Ciao,
Duncan.
More information about the llvm-commits
mailing list