summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/Inline/array-alloca.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/array-alloca.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/array-alloca.ll')
-rw-r--r--llvm/test/Transforms/Inline/array-alloca.ll37
1 files changed, 0 insertions, 37 deletions
diff --git a/llvm/test/Transforms/Inline/array-alloca.ll b/llvm/test/Transforms/Inline/array-alloca.ll
deleted file mode 100644
index b71dafee00f..00000000000
--- a/llvm/test/Transforms/Inline/array-alloca.ll
+++ /dev/null
@@ -1,37 +0,0 @@
-; RUN: opt -inline -S < %s | FileCheck %s
-; RUN: opt -passes='cgscc(inline)' -S < %s | FileCheck %s
-%struct.A = type { i32 }
-
-define void @callee1(i32 %M) {
-entry:
- %vla = alloca i32, i32 %M, align 16
- ret void
-}
-
-define void @callee2(i32 %M) {
-entry:
- %vla = alloca %struct.A, i32 %M, align 16
- ret void
-}
-
-define void @callee3(i128 %M) {
-entry:
- %vla = alloca i32, i128 %M, align 16
- ret void
-}
-
-; CHECK-LABEL: @caller
-define void @caller() #0 {
-entry:
- call void @caller()
-; CHECK-NOT: call void @callee1
- call void @callee1(i32 256)
-; CHECK: call void @callee2
- call void @callee2(i32 4096)
-; CHECK: call void @callee3
-; This is to test that there is no overflow in computing allocated size
-; call void @callee3(i128 0x8000000000000000);
- call void @callee3(i128 9223372036854775808);
- ret void
-}
-
OpenPOWER on IntegriCloud