| Dan Gohman | 4050339 | 2009-09-08 23:54:48 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -march=x86 -mattr=+sse |
| Eli Friedman | b45e8ce | 2009-06-06 03:57:58 +0000 | [diff] [blame] | 2 | ; PR2598 |
| 3 | |||||
| 4 | define <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 | |||||
| 9 | define <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 | |||||