1 ; RUN: llc < %s -mcpu=cortex-a8 | FileCheck %s -check-prefix=CHECK-A8
2 ; RUN: llc < %s -mcpu=cortex-m3 | FileCheck %s -check-prefix=CHECK-M3
4 target triple = "thumbv7-apple-darwin10"
6 define arm_apcscc i32 @f1(i16* %ptr) nounwind {
13 %2 = icmp eq i16 %1, 1
14 %3 = sext i16 %1 to i32
15 br i1 %2, label %.next, label %.exit