brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.0 KiB · 01a20bf Raw
32 lines · plain
1; RUN: llc < %s -mtriple=i686-- -mattr=+sse22	%struct.foo = type opaque3 4define fastcc i32 @test(ptr %v, ptr %vi) {5	br i1 false, label %ilog2.exit, label %cond_true.i6 7cond_true.i:		; preds = %08	ret i32 09 10ilog2.exit:		; preds = %011	%tmp24.i = load i32, ptr null		; <i32> [#uses=1]12	%tmp13.i12.i = tail call double @ldexp( double 0.000000e+00, i32 0 )		; <double> [#uses=1]13	%tmp13.i13.i = fptrunc double %tmp13.i12.i to float		; <float> [#uses=1]14	%tmp11.s = load i32, ptr null		; <i32> [#uses=1]15	%tmp11.i = bitcast i32 %tmp11.s to i32		; <i32> [#uses=1]16	%n.i = bitcast i32 %tmp24.i to i32		; <i32> [#uses=1]17	%tmp13.i7 = mul i32 %tmp11.i, %n.i		; <i32> [#uses=1]18	%tmp.i8 = tail call ptr @calloc( i32 %tmp13.i7, i32 4 )		; <ptr> [#uses=0]19	br i1 false, label %bb224.preheader.i, label %bb.i20 21bb.i:		; preds = %ilog2.exit22	ret i32 023 24bb224.preheader.i:		; preds = %ilog2.exit25	%tmp165.i = fpext float %tmp13.i13.i to double		; <double> [#uses=0]26	ret i32 027}28 29declare ptr @calloc(i32, i32)30 31declare double @ldexp(double, i32)32