1; RUN: llc -march=xcore < %s | FileCheck %s 2 3define i32 @switch(i32 %i) { 4entry: 5 switch i32 %i, label %default [ 6 i32 0, label %bb0 7 i32 1, label %bb1 8 i32 2, label %bb2 9 i32 3, label %bb3 10 ] 11; CHECK-NOT: shl 12; CHECK: bru 13; CHECK: .jmptable 14bb0: 15 ret i32 0 16bb1: 17 ret i32 1 18bb2: 19 ret i32 2 20bb3: 21 ret i32 3 22default: 23 ret i32 4 24} 25