brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · f6fd6ef Raw
32 lines · plain
1; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--2 3	%struct._cpp_strbuf = type { ptr, i32, i32 }4	%struct.cpp_string = type { i32, ptr }5 6declare fastcc void @emit_numeric_escape(i32, i32, ptr, i32) nounwind 7 8define i32 @cpp_interpret_string(i32 %pfile, ptr %from, i32 %wide) nounwind  {9entry:10	%tmp61 = load i32, ptr null, align 4		; <i32> [#uses=1]11	%toBool = icmp eq i32 %wide, 0		; <i1> [#uses=2]12	%iftmp.87.0 = select i1 %toBool, i32 %tmp61, i32 0		; <i32> [#uses=2]13	%tmp69 = icmp ult i32 %iftmp.87.0, 33		; <i1> [#uses=1]14	%min = select i1 %tmp69, i32 %iftmp.87.0, i32 32		; <i32> [#uses=1]15	%tmp71 = icmp ugt i32 %min, 31		; <i1> [#uses=1]16	br i1 %tmp71, label %bb79, label %bb7517bb75:		; preds = %entry18	ret i32 019bb79:		; preds = %entry20	br i1 %toBool, label %bb103, label %bb9421bb94:		; preds = %bb7922	br i1 false, label %bb729, label %bb130.preheader23bb103:		; preds = %bb7924	ret i32 025bb130.preheader:		; preds = %bb9426	%tmp134 = getelementptr %struct.cpp_string, ptr %from, i32 0, i32 1		; <ptr> [#uses=0]27	ret i32 028bb729:		; preds = %bb9429	call fastcc void @emit_numeric_escape( i32 %pfile, i32 0, ptr null, i32 %wide ) nounwind 30	ret i32 131}32