Evan Cheng | 802cd84 | 2009-03-21 18:12:24 +0000 | [diff] [blame] | 1 | ; RUN: bugpoint %s -dce -bugpoint-deletecalls -simplifycfg -silence-passes %bugpoint_topts |
Nick Lewycky | c55c27f | 2009-06-12 05:39:02 +0000 | [diff] [blame^] | 2 | ; XFAIL: powerpc-.*-linux |
Nick Lewycky | 0b389b5 | 2009-06-11 23:43:02 +0000 | [diff] [blame] | 3 | ; END. |
| 4 | ; Failure on PPC Linux is due to PR4293. |
Chris Lattner | 5465cc5 | 2008-06-16 04:22:39 +0000 | [diff] [blame] | 5 | |
Tanya Lattner | d349a4e | 2008-02-17 00:15:09 +0000 | [diff] [blame] | 6 | @.LC0 = internal global [13 x i8] c"Hello World\0A\00" ; <[13 x i8]*> [#uses=1] |
Chris Lattner | f64387d | 2002-12-23 23:50:35 +0000 | [diff] [blame] | 7 | |
Tanya Lattner | d349a4e | 2008-02-17 00:15:09 +0000 | [diff] [blame] | 8 | declare i32 @printf(i8*, ...) |
Chris Lattner | f64387d | 2002-12-23 23:50:35 +0000 | [diff] [blame] | 9 | |
Tanya Lattner | d349a4e | 2008-02-17 00:15:09 +0000 | [diff] [blame] | 10 | define i32 @main() { |
| 11 | call i32 (i8*, ...)* @printf( i8* getelementptr ([13 x i8]* @.LC0, i64 0, i64 0) ) ; <i32>:1 [#uses=0] |
| 12 | ret i32 0 |
Chris Lattner | f64387d | 2002-12-23 23:50:35 +0000 | [diff] [blame] | 13 | } |