[TwoAddressInstructionPass] When looking for a 3 addr conversion after commuting...
[oota-llvm.git] / test / CodeGen / X86 / 2009-06-05-sitofpCrash.ll
1 ; RUN: llc < %s -march=x86 -mattr=+sse
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