[LLVMbugs] [Bug 7311] New: Invalid instcombine of vector to scalar

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 8 00:11:52 CDT 2010


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


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.


More information about the LLVMbugs mailing list