Don't assume an empty stderr.
[oota-llvm.git] / test / Bitcode / vectorInstructions.3.2.ll
1 ; RUN:  llvm-dis < %s.bc| FileCheck %s\r
2 \r
3 ; vectorOperations.3.2.ll.bc was generated by passing this file to llvm-as-3.2.\r
4 ; The test checks that LLVM does not misread vector operations of\r
5 ; older bitcode files.\r
6 \r
7 define void @extractelement(<2 x i8> %x1){\r
8 entry:\r
9 ; CHECK: %res1 = extractelement <2 x i8> %x1, i32 0\r
10   %res1 = extractelement <2 x i8> %x1, i32 0\r
11   \r
12   ret void\r
13 }\r
14 \r
15 define void @insertelement(<2 x i8> %x1){\r
16 entry:\r
17 ; CHECK: %res1 = insertelement <2 x i8> %x1, i8 0, i32 0\r
18   %res1 = insertelement <2 x i8> %x1, i8 0, i32 0\r
19   \r
20   ret void\r
21 }\r
22 \r
23 define void @shufflevector(<2 x i8> %x1){\r
24 entry:\r
25 ; CHECK: %res1 = shufflevector <2 x i8> %x1, <2 x i8> %x1, <2 x i32> <i32 0, i32 1>\r
26   %res1 = shufflevector <2 x i8> %x1, <2 x i8> %x1, <2 x i32> <i32 0, i32 1>\r
27 \r
28 ; CHECK-NEXT: %res2 = shufflevector <2 x i8> %x1, <2 x i8> undef, <2 x i32> <i32 0, i32 1>\r
29   %res2 = shufflevector <2 x i8> %x1, <2 x i8> undef, <2 x i32> <i32 0, i32 1>\r
30   \r
31   ret void\r
32 }\r
33 \r
34 \r