[LLVMbugs] [Bug 3466] New: SROA ConvertUsesOfLoadToScalar assertion

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Feb 2 22:48:29 PST 2009


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

           Summary: SROA ConvertUsesOfLoadToScalar assertion
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Scalar Optimizations
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: evan.cheng at apple.com
                CC: llvmbugs at cs.uiuc.edu


x86-64 MallocBench/gs is broken.

Assertion failed: (NV->getType() == LI->getType() && "Didn't convert right?"),
function ConvertUsesOfLoadToScalar, file ScalarReplAggregates.cpp, line 1448.

Here is the test case:

define i32 @gs_makefont() nounwind {
entry:
        %yx2.i = alloca float, align 4          ; <float*> [#uses=1]            
        %yx26.i = bitcast float* %yx2.i to i64*         ; <i64*> [#uses=1]      
        %0 = load i64* %yx26.i, align 8         ; <i64> [#uses=0]               
        unreachable
}


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