[LLVMbugs] [Bug 14371] New: Regression: InstCombine alloca->global optimization crashes on opaque types

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Nov 17 10:54:17 PST 2012


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: unassignedbugs at nondot.org
        ReportedBy: code at klickverbot.at
                CC: llvmbugs at cs.uiuc.edu
    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.



More information about the llvm-bugs mailing list