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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to