; RUN: bugpoint %s -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
}


; RUN: export PATH=/usr/bin:/bin/:${PATH}
; RUN: bugpoint %s -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
}


Fix problem executing the CBE
Fix problem executing the CBE


git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@7500 91177308-0d34-0410-b5e6-96231b3b80d8
