[LLVMbugs] [Bug 2544] New: vector uitofp does not select on x86 with SSE2

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Jul 11 05:58:37 PDT 2008


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

           Summary: vector uitofp does not select on x86 with SSE2
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sdt at rapidmind.com
                CC: llvmbugs at cs.uiuc.edu


The following IR will not compile with -march=x86 -mattr=+sse2:

@foo = global <4 x i32> undef

define <4 x float> @test() {
entry:
  %baz = load <4 x i32>* @foo
  %bar = uitofp <4 x i32> %baz to <4 x float>
  ret <4 x float> %bar
}

The error is:

Cannot yet select: 0x8dfe4d4: v4f32 = uint_to_fp 0x8dfe714

This looks quite simply like ui to fp conversion is not implemented on vectors.


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