Add a triple to switch.ll test.
[oota-llvm.git] / test / CodeGen / X86 / split-vector-bitcast.ll
1 ; RUN: llc < %s -march=x86 -mattr=-sse2,+sse | grep addps
2
3 ; PR10497 + another isel issue with sse2 disabled
4 ; (This is primarily checking that this construct doesn't crash.)
5 define void @a(<2 x float>* %a, <2 x i32>* %b) {
6   %cc = load <2 x float>, <2 x float>* %a
7   %c = fadd <2 x float> %cc, %cc
8   %dd = bitcast <2 x float> %c to <2 x i32>
9   %d = add <2 x i32> %dd, %dd
10   store <2 x i32> %d, <2 x i32>* %b
11   ret void
12 }