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