1; RUN: llc -O0 -fast-isel=false -march=x86 < %s | FileCheck %s 2 3; No need for branching when the default and only destination follows 4; immediately after the switch. 5; CHECK-LABEL: no_branch: 6; CHECK-NOT: jmp 7; CHECK: ret 8 9define void @no_branch(i32 %x) { 10entry: 11 switch i32 %x, label %exit [ ] 12exit: 13 ret void 14} 15