brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.5 KiB · 9aad73c Raw
39 lines · plain
1; RUN: llc < %s -asm-verbose=false -O3 -relocation-model=pic -frame-pointer=all -mtriple=thumbv7-apple-darwin -mcpu=cortex-a8 -post-RA-scheduler2 3; ModuleID = '<stdin>'4target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:64"5target triple = "armv7-apple-darwin9"6 7%struct.anon = type { [3 x double], double, ptr, [64 x ptr], [64 x ptr] }8%struct.bnode = type { i16, double, [3 x double], i32, i32, [3 x double], [3 x double], [3 x double], double, ptr, ptr }9%struct.icstruct = type { [3 x i32], i16 }10%struct.node = type { i16, double, [3 x double], i32, i32 }11 12declare double @floor(double) nounwind readnone13 14define void @intcoord(ptr noalias nocapture sret(%struct.icstruct) %agg.result, i1 %a, double %b) {15entry:16  br i1 %a, label %bb3, label %bb117 18bb1:                                              ; preds = %entry19  unreachable20 21bb3:                                              ; preds = %entry22  br i1 %a, label %bb7, label %bb523 24bb5:                                              ; preds = %bb325  unreachable26 27bb7:                                              ; preds = %bb328  br i1 %a, label %bb11, label %bb929 30bb9:                                              ; preds = %bb731  %0 = tail call  double @floor(double %b) nounwind readnone ; <double> [#uses=0]32  br label %bb1133 34bb11:                                             ; preds = %bb9, %bb735  %1 = getelementptr %struct.icstruct, ptr %agg.result, i32 0, i32 0, i32 0 ; <ptr> [#uses=1]36  store i32 0, ptr %137  ret void38}39