[LLVMdev] Strange loop unrolling problem (partially solved)

Chris Lattner clattner at apple.com
Sun May 3 19:29:01 PDT 2009

On Apr 27, 2009, at 5:26 AM, Pertti Kellomäki wrote:

> A short while ago I wrote about the strange loop unrolling
> behavior we encountered. The problem was that with -O3,
> the following loop does not get unrolled if the ifdef'ed
> dead code is not present.

Hi Pertti,

This is a major problem of the jump threading pass.  I've fixed it in  
r70820, thanks for bringing this up!


More information about the llvm-dev mailing list