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

           Summary: Invalid instcombine of vector to scalar
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


opt -instcombine < test2.ll | llvm-dis

UIToFP source and dest must both be vector or scalar
  %vcvt.i = uitofp i64 %tmp8 to <2 x float>       ; <<2 x float>> [#uses=1]

instcombine has turned a UIToFP from <v2i32> -> <v2f32> into i64 -> <v2f32>

Testcase attached.

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