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