386f749a506618c6ffbbfa929457c36e3dbe4605
[oota-llvm.git] / test / CodeGen / X86 / widen_cast-6.ll
1 ; RUN: llc < %s -march=x86 -mattr=+sse41 -disable-mmx -o %t
2 ; RUN: grep movd  %t | count 1
3
4 ; Test bit convert that requires widening in the operand.
5
6 define i32 @return_v2hi() nounwind {
7 entry:
8         %retval12 = bitcast <2 x i16> zeroinitializer to i32            ; <i32> [#uses=1]
9         ret i32 %retval12
10 }