summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/Inline/ephemeral.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/ephemeral.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/ephemeral.ll')
-rw-r--r--llvm/test/Transforms/Inline/ephemeral.ll30
1 files changed, 0 insertions, 30 deletions
diff --git a/llvm/test/Transforms/Inline/ephemeral.ll b/llvm/test/Transforms/Inline/ephemeral.ll
deleted file mode 100644
index 6261d4b39ea..00000000000
--- a/llvm/test/Transforms/Inline/ephemeral.ll
+++ /dev/null
@@ -1,30 +0,0 @@
-; RUN: opt -S -Oz %s | FileCheck %s
-
-@a = global i32 4
-
-define i32 @inner() {
- %a1 = load volatile i32, i32* @a
-
- ; Here are enough instructions to prevent inlining, but because they are used
- ; only by the @llvm.assume intrinsic, they're free (and, thus, inlining will
- ; still happen).
- %a2 = mul i32 %a1, %a1
- %a3 = sub i32 %a1, 5
- %a4 = udiv i32 %a3, -13
- %a5 = mul i32 %a4, %a4
- %a6 = add i32 %a5, %a5
- %ca = icmp sgt i32 %a6, -7
- tail call void @llvm.assume(i1 %ca)
-
- ret i32 %a1
-}
-
-; @inner() should be inlined for -Oz.
-; CHECK-NOT: call i1 @inner
-define i32 @outer() optsize {
- %r = call i32 @inner()
- ret i32 %r
-}
-
-declare void @llvm.assume(i1) nounwind
-
OpenPOWER on IntegriCloud