Make the default triple optional by allowing an empty string
[oota-llvm.git] / test / CodeGen / X86 / vshift_scalar.ll
1 ; RUN: llc < %s
2 ; REQUIRES: default_triple
3
4 ; Legalization test that requires scalarizing a vector.
5
6 define void @update(<1 x i32> %val, <1 x i32>* %dst) nounwind {
7 entry:
8         %shl = shl <1 x i32> %val, < i32 2>
9         %shr = ashr <1 x i32> %val, < i32 4>
10         store <1 x i32> %shr, <1 x i32>* %dst
11         ret void
12 }