Home | History | Annotate | Download | only in ARM
      1 ; RUN: llc -mtriple=thumbv7-linux-gnueabi -O0 < %s | FileCheck %s
      2 ; RUN: llc -mtriple=thumbv8m.base-arm-none-eabi -filetype=obj < %s
      3 
      4 ; Primarily a non-crash test: Thumbv7 Linux does not have FastISel support,
      5 ; which led (via a convoluted route) to DAG nodes after a TC_RETURN that
      6 ; couldn't possibly work.
      7 
      8 declare i8* @g(i8*)
      9 
     10 define i8* @f(i8* %a) {
     11 entry:
     12   %0 = tail call i8* @g(i8* %a)
     13   ret i8* %0
     14 ; CHECK: b g
     15 ; CHECK-NOT: ldr
     16 ; CHECK-NOT: str
     17 }
     18