[llvm-commits] [PATCH] Switch for allowing partial unrolling to LoopUnroll.cpp

Mikael Lepistö mikael.lepisto at tut.fi
Mon Jul 28 12:21:01 PDT 2008


Patch makes it possible for -loop-unroll pass to partially unroll loop 
until -unroll-threshold size is reached if -unroll-allow-partial switch 
is given. Instead of giving up if loop cannot be completely unrolled, 
patched version tries to find greatest unroll count which is modulo of 
trip count and still results loop which is smaller that threshold size.

Mikael Lepistö


-------------- next part --------------
A non-text attachment was scrubbed...
Name: partial-loopunroll.patch
Type: text/x-diff
Size: 1926 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080728/f15188aa/attachment.patch>


More information about the llvm-commits mailing list