brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · a25114b Raw
42 lines · plain
1; RUN: llc -mtriple=armv7-eabi -mcpu=cortex-a8 < %s2; PR56143 4%"als" = type { ptr }5%"av" = type { %"als" }6%"c" = type { %"lsm", %"Vec3", ptr, float, i8, float, %"lsm", i8, %"Vec3", %"Vec3", %"Vec3", float, float, float, %"Vec3", %"Vec3" }7%"lsm" = type { %"als", %"Vec3", %"Vec3", %"Vec3", %"Vec3" }8%"Vec3" = type { float, float, float }9 10define arm_aapcs_vfpcc void @foo(ptr %this, ptr nocapture %adjustment) {11entry:12  switch i32 undef, label %return [13    i32 1, label %bb14    i32 2, label %bb7215    i32 3, label %bb3116    i32 4, label %bb7917    i32 5, label %bb10418  ]19 20bb:                                               ; preds = %entry21  ret void22 23bb31:                                             ; preds = %entry24  %0 = call arm_aapcs_vfpcc  %"Vec3" undef(ptr undef) ; <%"Vec3"> [#uses=1]25  %mrv_gr69 = extractvalue %"Vec3" %0, 1 ; <float> [#uses=1]26  %1 = fsub float %mrv_gr69, undef                ; <float> [#uses=1]27  store float %1, ptr undef, align 428  ret void29 30bb72:                                             ; preds = %entry31  ret void32 33bb79:                                             ; preds = %entry34  ret void35 36bb104:                                            ; preds = %entry37  ret void38 39return:                                           ; preds = %entry40  ret void41}42