[X86] Implement the support for shrink-wrapping.
[oota-llvm.git] / test / CodeGen / X86 / widen_cast-6.ll
index 08759bf5510c2006ff2aeaa385de2ffa77c26812..46d8dd787a3b2060d069fc1e81a44b4a56d0bcaa 100644 (file)
@@ -1,9 +1,13 @@
-; RUN: llc < %s -march=x86 -mattr=+sse41 -disable-mmx | FileCheck %s
-; CHECK: movd
+; RUN: llc < %s -march=x86 -mattr=+sse4.1 | FileCheck %s
 
 ; Test bit convert that requires widening in the operand.
 
 define i32 @return_v2hi() nounwind {
+; CHECK-LABEL: @return_v2hi
+; CHECK:      pushl
+; CHECK-NEXT: xorl %eax, %eax
+; CHECK-NEXT: popl
+; CHECK-NEXT: ret
 entry:
        %retval12 = bitcast <2 x i16> zeroinitializer to i32            ; <i32> [#uses=1]
        ret i32 %retval12