summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/Inline/switch.ll
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2019-04-17 02:12:23 +0000
committerEric Christopher <echristo@gmail.com>2019-04-17 02:12:23 +0000
commita86343512845c9c1fdbac865fea88aa5fce7142a (patch)
tree666fc6353de19ad8b00e56b67edd33f24104e4a7 /llvm/test/Transforms/Inline/switch.ll
parent7f8ca6e3679b3af951cb7a4b1377edfaa3244b93 (diff)
downloadbcm5719-llvm-a86343512845c9c1fdbac865fea88aa5fce7142a.tar.gz
bcm5719-llvm-a86343512845c9c1fdbac865fea88aa5fce7142a.zip
Temporarily Revert "Add basic loop fusion pass."
As it's causing some bot failures (and per request from kbarton). This reverts commit r358543/ab70da07286e618016e78247e4a24fcb84077fda. llvm-svn: 358546
Diffstat (limited to 'llvm/test/Transforms/Inline/switch.ll')
-rw-r--r--llvm/test/Transforms/Inline/switch.ll61
1 files changed, 0 insertions, 61 deletions
diff --git a/llvm/test/Transforms/Inline/switch.ll b/llvm/test/Transforms/Inline/switch.ll
deleted file mode 100644
index 83f01926982..00000000000
--- a/llvm/test/Transforms/Inline/switch.ll
+++ /dev/null
@@ -1,61 +0,0 @@
-; RUN: opt < %s -inline -inline-threshold=20 -S | FileCheck %s
-; RUN: opt < %s -passes='cgscc(inline)' -inline-threshold=20 -S | FileCheck %s
-
-define i32 @callee(i32 %a) {
- switch i32 %a, label %sw.default [
- i32 0, label %sw.bb0
- i32 1, label %sw.bb1
- i32 2, label %sw.bb2
- i32 3, label %sw.bb3
- i32 4, label %sw.bb4
- i32 5, label %sw.bb5
- i32 6, label %sw.bb6
- i32 7, label %sw.bb7
- i32 8, label %sw.bb8
- i32 9, label %sw.bb9
- ]
-
-sw.default:
- br label %return
-
-sw.bb0:
- br label %return
-
-sw.bb1:
- br label %return
-
-sw.bb2:
- br label %return
-
-sw.bb3:
- br label %return
-
-sw.bb4:
- br label %return
-
-sw.bb5:
- br label %return
-
-sw.bb6:
- br label %return
-
-sw.bb7:
- br label %return
-
-sw.bb8:
- br label %return
-
-sw.bb9:
- br label %return
-
-return:
- ret i32 42
-}
-
-define i32 @caller(i32 %a) {
-; CHECK-LABEL: @caller(
-; CHECK: call i32 @callee(
-
- %result = call i32 @callee(i32 %a)
- ret i32 %result
-}
OpenPOWER on IntegriCloud