blob: 589a8800ede7c09abd4cad2499d9afb0b247899f [file] [log] [blame]
Eli Friedman23ef1052009-06-06 03:57:58 +00001; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse
2; PR2598
3
4define <2 x float> @a(<2 x i32> %i) nounwind {
5 %r = sitofp <2 x i32> %i to <2 x float>
6 ret <2 x float> %r
7}
8
9define <2 x i32> @b(<2 x float> %i) nounwind {
10 %r = fptosi <2 x float> %i to <2 x i32>
11 ret <2 x i32> %r
12}
13