2008-02-19 01:44:26 +00:00
|
|
|
; RUN: llvm-as < %s | llvm-dis | llvm-as > /dev/null
|
2004-08-20 08:34:27 +00:00
|
|
|
|
2008-02-19 01:44:26 +00:00
|
|
|
%v4f = type <4 x float>
|
|
|
|
@foo = external global %v4f ; <%v4f*> [#uses=1]
|
|
|
|
@bar = external global %v4f ; <%v4f*> [#uses=1]
|
2004-08-20 08:34:27 +00:00
|
|
|
|
2008-02-19 01:44:26 +00:00
|
|
|
define void @main() {
|
|
|
|
br label %A
|
2004-08-20 08:34:27 +00:00
|
|
|
|
2008-02-19 01:44:26 +00:00
|
|
|
C: ; preds = %B
|
|
|
|
store %v4f %t2, %v4f* @bar
|
|
|
|
ret void
|
2004-08-20 08:34:27 +00:00
|
|
|
|
2008-02-19 01:44:26 +00:00
|
|
|
B: ; preds = %A
|
2009-06-04 22:49:04 +00:00
|
|
|
%t2 = fadd %v4f %t0, %t0 ; <%v4f> [#uses=1]
|
2008-02-19 01:44:26 +00:00
|
|
|
br label %C
|
2004-08-20 08:34:27 +00:00
|
|
|
|
2008-02-19 01:44:26 +00:00
|
|
|
A: ; preds = %0
|
2015-02-27 21:17:42 +00:00
|
|
|
%t0 = load %v4f, %v4f* @foo ; <%v4f> [#uses=2]
|
2008-02-19 01:44:26 +00:00
|
|
|
br label %B
|
2004-08-20 08:34:27 +00:00
|
|
|
}
|
2008-02-19 01:44:26 +00:00
|
|
|
|