mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-20 09:30:43 +00:00
dead pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47324 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
75542bd56b
commit
1459c5d8e1
@ -1,16 +0,0 @@
|
|||||||
; RUN: llvm-as < %s | opt -lower-packed | llvm-dis
|
|
||||||
@foo = external global <2 x i32> ; <<2 x i32>*> [#uses=2]
|
|
||||||
@bar = external global <2 x i32> ; <<2 x i32>*> [#uses=1]
|
|
||||||
|
|
||||||
define void @main() {
|
|
||||||
%t0 = load <2 x i32>* @foo ; <<2 x i32>> [#uses=6]
|
|
||||||
%t2 = add <2 x i32> %t0, %t0 ; <<2 x i32>> [#uses=1]
|
|
||||||
%t3 = select i1 false, <2 x i32> %t0, <2 x i32> %t2 ; <<2 x i32>> [#uses=1]
|
|
||||||
store <2 x i32> %t3, <2 x i32>* @bar
|
|
||||||
%c0 = add <2 x i32> < i32 1, i32 1 >, %t0 ; <<2 x i32>> [#uses=0]
|
|
||||||
%c1 = add <2 x i32> %t0, zeroinitializer ; <<2 x i32>> [#uses=0]
|
|
||||||
%c2 = select i1 true, <2 x i32> < i32 1, i32 1 >, <2 x i32> %t0 ; <<2 x i32>> [#uses=0]
|
|
||||||
store <2 x i32> < i32 4, i32 4 >, <2 x i32>* @foo
|
|
||||||
ret void
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user