Home | History | Annotate | Download | only in Thumb2
      1 ; RUN: llc < %s -mtriple=thumbv7-apple-darwin | FileCheck %s
      2 ; Radar 8724703: Make sure that a t2ADDrSPi instruction with SP as the
      3 ; destination register is narrowed to tADDspi instead of tADDrSPi.
      4 
      5 define void @test() nounwind {
      6 entry:
      7 ; CHECK: sub.w
      8 ; CHECK: add.w
      9   %Buffer.i = alloca [512 x i8], align 4
     10   ret void
     11 }
     12