[LLVMbugs] [Bug 5285] New: sroa extracts wrong element

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Oct 23 05:53:43 PDT 2009


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

           Summary: sroa extracts wrong element
           Product: new-bugs
           Version: unspecified
          Platform: PC
        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


Created an attachment (id=3692)
 --> (http://llvm.org/bugs/attachment.cgi?id=3692)
testcase .ll

Running "-scalarrepl -instcombine" reduces the testcase down to a call to
abort(), which is wrong.  The mistake is made by scalarrepl which extracts
the wrong array element from the constant (it gets the right element for
the first level of the GEP, but gets it wrong for the next level).

Reduced from ACATS test c41301a, which started failing recently along with
a bunch of other ACATS tests.


-- 
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