llvm.org GIT mirror llvm / 1459c5d
dead pass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47324 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 11 years ago
1 changed file(s) with 0 addition(s) and 16 deletion(s). Raw diff Collapse all Expand all
+0
-16
test/Other/2004-08-16-LowerPacked.ll less more
None ; RUN: llvm-as < %s | opt -lower-packed | llvm-dis
1 @foo = external global <2 x i32> ; <<2 x i32>*> [#uses=2]
2 @bar = external global <2 x i32> ; <<2 x i32>*> [#uses=1]
3
4 define void @main() {
5 %t0 = load <2 x i32>* @foo ; <<2 x i32>> [#uses=6]
6 %t2 = add <2 x i32> %t0, %t0 ; <<2 x i32>> [#uses=1]
7 %t3 = select i1 false, <2 x i32> %t0, <2 x i32> %t2 ; <<2 x i32>> [#uses=1]
8 store <2 x i32> %t3, <2 x i32>* @bar
9 %c0 = add <2 x i32> < i32 1, i32 1 >, %t0 ; <<2 x i32>> [#uses=0]
10 %c1 = add <2 x i32> %t0, zeroinitializer ; <<2 x i32>> [#uses=0]
11 %c2 = select i1 true, <2 x i32> < i32 1, i32 1 >, <2 x i32> %t0 ; <<2 x i32>> [#uses=0]
12 store <2 x i32> < i32 4, i32 4 >, <2 x i32>* @foo
13 ret void
14 }
15