Implement a vectorized algorithm for <16 x i8> << <16 x i8>
[oota-llvm.git] / test / Feature / unions.ll
1 ; RUN: llvm-as < %s | llvm-dis > %t1.ll
2 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
3 ; RUN: diff %t1.ll %t2.ll
4
5 %union.anon = type union { i8, i32, float }
6
7 @union1 = constant union { i32, i8 } { i32 4 }
8 @union2 = constant union { i32, i8 } insertvalue(union { i32, i8 } undef, i32 4, 0)
9 @union3 = common global %union.anon zeroinitializer, align 8 
10
11 define void @"Unions" () {
12   ret void
13 }
14