Add a triple to switch.ll test.
[oota-llvm.git] / test / CodeGen / X86 / widen_cast-6.ll
1 ; RUN: llc < %s -march=x86 -mattr=+sse4.1 | FileCheck %s
2
3 ; Test bit convert that requires widening in the operand.
4
5 define i32 @return_v2hi() nounwind {
6 ; CHECK-LABEL: @return_v2hi
7 ; CHECK:      pushl
8 ; CHECK-NEXT: xorl %eax, %eax
9 ; CHECK-NEXT: popl
10 ; CHECK-NEXT: ret
11 entry:
12         %retval12 = bitcast <2 x i16> zeroinitializer to i32            ; <i32> [#uses=1]
13         ret i32 %retval12
14 }