Add a triple to switch.ll test.
[oota-llvm.git] / test / CodeGen / X86 / 2012-01-18-vbitcast.ll
1 ; RUN: llc < %s -march=x86-64 -mcpu=corei7 -mtriple=x86_64-pc-win32 | FileCheck %s
2
3 ;CHECK-LABEL: vcast:
4 define <2 x i32> @vcast(<2 x float> %a, <2 x float> %b) {
5 ;CHECK: pmovzxdq
6 ;CHECK: pmovzxdq
7   %af = bitcast <2 x float> %a to <2 x i32>
8   %bf = bitcast <2 x float> %b to <2 x i32>
9   %x = sub <2 x i32> %af, %bf
10 ;CHECK: psubq
11   ret <2 x i32> %x
12 ;CHECK: ret
13 }
14