brintos

brintos / llvm-project-archived public Read only

0
0
Text · 793 B · 83a6b24 Raw
27 lines · plain
1; RUN: llc < %s -O3 -mtriple=thumbv7-apple-darwin10 -mcpu=cortex-a8 -relocation-model=pic2; PR74843 4%struct.gs_matrix = type { float, i32, float, i32, float, i32, float, i32, float, i32, float, i32 }5 6define fastcc void @func(ptr nocapture %pm1) nounwind {7entry:8  %0 = getelementptr inbounds %struct.gs_matrix, ptr %pm1, i32 0, i32 69  %1 = load float, ptr %0, align 410  %2 = getelementptr inbounds %struct.gs_matrix, ptr %pm1, i32 0, i32 811  %3 = load float, ptr %2, align 412  %4 = getelementptr inbounds %struct.gs_matrix, ptr %pm1, i32 0, i32 213  %5 = load i32, ptr %4, align 414  %6 = or i32 0, %515  %.mask = and i32 %6, 214748364716  %7 = icmp eq i32 %.mask, 017  br i1 %7, label %bb, label %bb1118 19bb:20  ret void21 22bb11:23  %8 = fmul float %1, undef24  %9 = fmul float %3, undef25  ret void26}27