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


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

Reply via email to