Home | History | Annotate | Download | only in XCore
      1 ; RUN: llc < %s -march=xcore | FileCheck %s
      2 
      3 define i32 @f(i32) nounwind {
      4 ; CHECK-LABEL: f:
      5 ; CHECK: mkmsk r0, r0
      6 ; CHECK-NEXT: retsp 0
      7 entry:
      8   %1 = shl i32 1, %0
      9   %2 = add i32 %1, -1
     10   ret i32 %2
     11 }
     12