aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/switch-default-only.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/switch-default-only.ll')
-rw-r--r--test/CodeGen/X86/switch-default-only.ll14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/CodeGen/X86/switch-default-only.ll b/test/CodeGen/X86/switch-default-only.ll
deleted file mode 100644
index 360ace5b787f..000000000000
--- a/test/CodeGen/X86/switch-default-only.ll
+++ /dev/null
@@ -1,14 +0,0 @@
-; RUN: llc -O0 -fast-isel=false -march=x86 < %s | FileCheck %s
-
-; No need for branching when the default and only destination follows
-; immediately after the switch.
-; CHECK-LABEL: no_branch:
-; CHECK-NOT: jmp
-; CHECK: ret
-
-define void @no_branch(i32 %x) {
-entry:
- switch i32 %x, label %exit [ ]
-exit:
- ret void
-}