2012-01-16 16:56:09 +08:00
|
|
|
; RUN: %lli %s > /dev/null
|
2004-11-07 07:32:43 +08:00
|
|
|
|
2003-06-06 00:57:55 +08:00
|
|
|
; Testcase distilled from 256.bzip2.
|
|
|
|
|
2008-03-10 15:21:50 +08:00
|
|
|
target datalayout = "e-p:32:32"
|
2003-06-06 00:57:55 +08:00
|
|
|
|
2008-03-10 15:21:50 +08:00
|
|
|
define i32 @main() {
|
2003-06-06 00:57:55 +08:00
|
|
|
entry:
|
2008-03-10 15:21:50 +08:00
|
|
|
%X = add i32 1, -1 ; <i32> [#uses=3]
|
2003-06-06 00:57:55 +08:00
|
|
|
br label %Next
|
2008-03-10 15:21:50 +08:00
|
|
|
Next: ; preds = %entry
|
|
|
|
%A = phi i32 [ %X, %entry ] ; <i32> [#uses=0]
|
|
|
|
%B = phi i32 [ %X, %entry ] ; <i32> [#uses=0]
|
|
|
|
%C = phi i32 [ %X, %entry ] ; <i32> [#uses=1]
|
|
|
|
ret i32 %C
|
2003-06-06 00:57:55 +08:00
|
|
|
}
|
2008-03-10 15:21:50 +08:00
|
|
|
|