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

             Bug #: 14371
           Summary: Regression: InstCombine alloca->global optimization
                    crashes on opaque types
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: Scalar Optimizations
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Created attachment 9561
  --> http://llvm.org/bugs/attachment.cgi?id=9561
test case

Please see the attached test case: In getPointeeAlignment(), InstCombine
assumes that DataLayout::getABITypeAlignment always works on
PT->getElementType(). However, if the type is opaque, this is not the case.

I marked the report as »release blocker« since this is a regression from 3.1
and breaks the LDC compiler. Sorry if this is not the intended use case.

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