[LLVMbugs] [Bug 2624] New: Ada loops not unrolled

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Aug 1 10:40:58 PDT 2008


http://llvm.org/bugs/show_bug.cgi?id=2624

           Summary: Ada loops not unrolled
           Product: new-bugs
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu


The loop unroller doesn't want to unroll the attached testcase,
even though it is very simple and there are only two iterations.
I think this may be because the condition is tested before
incrementing the induction variable.  This is how the Ada f-e
generates for loops (unlike in C, where the induction variable
is incremented first and the condition tested afterwards).  I
guess this is why I never (as far as I can remember) saw an Ada
loop unrolled by LLVM...


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list