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