22 lines · plain
1; RUN: llc < %s -mtriple=armv7-apple-ios | FileCheck %s2; RUN: llc < %s -mtriple=thumbv7-apple-ios | FileCheck %s3; rdar://86906404 5define ptr @t(ptr %x) nounwind "frame-pointer"="all" {6entry:7; CHECK-LABEL: t:8; CHECK: push9; CHECK: mov r7, sp10; CHECK: bl _foo11; CHECK: bl _foo12; CHECK: pop13; CHECK: b14 15 %0 = tail call ptr @foo(ptr %x) nounwind16 %1 = tail call ptr @foo(ptr %0) nounwind17 %2 = tail call ptr @foo(ptr %1) nounwind18 ret ptr %219}20 21declare ptr @foo(ptr)22