Add a triple to switch.ll test.
[oota-llvm.git] / test / CodeGen / X86 / vector-variable-idx.ll
1 ; RUN: llc < %s -march=x86-64 | grep movss | count 2
2 ; PR2676
3
4 define float @foo(<4 x float> %p, i32 %t) {
5   %z = extractelement <4 x float> %p, i32 %t
6   ret float %z
7 }
8 define <4 x float> @bar(<4 x float> %p, float %f, i32 %t) {
9   %z = insertelement <4 x float> %p, float %f, i32 %t
10   ret <4 x float> %z
11 }