1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=ppc32 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Worker %struct._cpp_strbuf = type { i8*, i32, i32 } 4*9880d681SAndroid Build Coastguard Worker %struct.cpp_string = type { i32, i8* } 5*9880d681SAndroid Build Coastguard Worker 6*9880d681SAndroid Build Coastguard Workerdeclare fastcc void @emit_numeric_escape(i32, i32, %struct._cpp_strbuf*, i32) nounwind 7*9880d681SAndroid Build Coastguard Worker 8*9880d681SAndroid Build Coastguard Workerdefine i32 @cpp_interpret_string(i32 %pfile, %struct.cpp_string* %from, i32 %wide) nounwind { 9*9880d681SAndroid Build Coastguard Workerentry: 10*9880d681SAndroid Build Coastguard Worker %tmp61 = load i32, i32* null, align 4 ; <i32> [#uses=1] 11*9880d681SAndroid Build Coastguard Worker %toBool = icmp eq i32 %wide, 0 ; <i1> [#uses=2] 12*9880d681SAndroid Build Coastguard Worker %iftmp.87.0 = select i1 %toBool, i32 %tmp61, i32 0 ; <i32> [#uses=2] 13*9880d681SAndroid Build Coastguard Worker %tmp69 = icmp ult i32 %iftmp.87.0, 33 ; <i1> [#uses=1] 14*9880d681SAndroid Build Coastguard Worker %min = select i1 %tmp69, i32 %iftmp.87.0, i32 32 ; <i32> [#uses=1] 15*9880d681SAndroid Build Coastguard Worker %tmp71 = icmp ugt i32 %min, 31 ; <i1> [#uses=1] 16*9880d681SAndroid Build Coastguard Worker br i1 %tmp71, label %bb79, label %bb75 17*9880d681SAndroid Build Coastguard Workerbb75: ; preds = %entry 18*9880d681SAndroid Build Coastguard Worker ret i32 0 19*9880d681SAndroid Build Coastguard Workerbb79: ; preds = %entry 20*9880d681SAndroid Build Coastguard Worker br i1 %toBool, label %bb103, label %bb94 21*9880d681SAndroid Build Coastguard Workerbb94: ; preds = %bb79 22*9880d681SAndroid Build Coastguard Worker br i1 false, label %bb729, label %bb130.preheader 23*9880d681SAndroid Build Coastguard Workerbb103: ; preds = %bb79 24*9880d681SAndroid Build Coastguard Worker ret i32 0 25*9880d681SAndroid Build Coastguard Workerbb130.preheader: ; preds = %bb94 26*9880d681SAndroid Build Coastguard Worker %tmp134 = getelementptr %struct.cpp_string, %struct.cpp_string* %from, i32 0, i32 1 ; <i8**> [#uses=0] 27*9880d681SAndroid Build Coastguard Worker ret i32 0 28*9880d681SAndroid Build Coastguard Workerbb729: ; preds = %bb94 29*9880d681SAndroid Build Coastguard Worker call fastcc void @emit_numeric_escape( i32 %pfile, i32 0, %struct._cpp_strbuf* null, i32 %wide ) nounwind 30*9880d681SAndroid Build Coastguard Worker ret i32 1 31*9880d681SAndroid Build Coastguard Worker} 32