1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=ppc32 2*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=ppc64 3*9880d681SAndroid Build Coastguard Worker; PR1399 4*9880d681SAndroid Build Coastguard Worker 5*9880d681SAndroid Build Coastguard Worker@.str = internal constant [13 x i8] c"Hello World!\00" 6*9880d681SAndroid Build Coastguard Worker 7*9880d681SAndroid Build Coastguard Workerdefine i32 @main() { 8*9880d681SAndroid Build Coastguard Worker %tmp2 = tail call i32 @puts( i8* getelementptr ([13 x i8], [13 x i8]* @.str, i32 0, i64 0) ) 9*9880d681SAndroid Build Coastguard Worker ret i32 0 10*9880d681SAndroid Build Coastguard Worker} 11*9880d681SAndroid Build Coastguard Worker 12*9880d681SAndroid Build Coastguard Workerdeclare i32 @puts(i8*) 13