mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
4572ce85b0
llvm-svn: 33296
15 lines
343 B
LLVM
15 lines
343 B
LLVM
; RUN: llvm-upgrade < %s > %t1.ll
|
|
; RUN: bugpoint %t1.ll -dce -bugpoint-deletecalls -simplifycfg
|
|
|
|
%.LC0 = internal global [13 x sbyte] c"Hello World\0A\00"
|
|
|
|
implementation
|
|
|
|
declare int %printf(sbyte*, ...)
|
|
|
|
int %main() {
|
|
call int(sbyte*, ...)* %printf( sbyte* getelementptr ([13 x sbyte]* %.LC0, long 0, long 0) )
|
|
ret int 0
|
|
}
|
|
|