diff options
Diffstat (limited to 'test/BugPoint/misopt-basictest.ll')
-rw-r--r-- | test/BugPoint/misopt-basictest.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/BugPoint/misopt-basictest.ll b/test/BugPoint/misopt-basictest.ll new file mode 100644 index 000000000000..11cc2ae7995e --- /dev/null +++ b/test/BugPoint/misopt-basictest.ll @@ -0,0 +1,10 @@ +; RUN: bugpoint %s -dce -bugpoint-deletecalls -simplifycfg -silence-passes %bugpoint_topts + +@.LC0 = internal global [13 x i8] c"Hello World\0A\00" ; <[13 x i8]*> [#uses=1] + +declare i32 @printf(i8*, ...) + +define i32 @main() { + call i32 (i8*, ...)* @printf( i8* getelementptr ([13 x i8]* @.LC0, i64 0, i64 0) ) ; <i32>:1 [#uses=0] + ret i32 0 +} |