summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SCCP/apint-array.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/SCCP/apint-array.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/SCCP/apint-array.ll')
-rw-r--r--llvm/test/Transforms/SCCP/apint-array.ll23
1 files changed, 0 insertions, 23 deletions
diff --git a/llvm/test/Transforms/SCCP/apint-array.ll b/llvm/test/Transforms/SCCP/apint-array.ll
deleted file mode 100644
index eff6cc997e3..00000000000
--- a/llvm/test/Transforms/SCCP/apint-array.ll
+++ /dev/null
@@ -1,23 +0,0 @@
-; RUN: opt < %s -sccp -S | grep "ret i101 12"
-
-@Y = constant [6 x i101] [ i101 12, i101 123456789000000, i101 -12,i101
--123456789000000, i101 0,i101 9123456789000000]
-
-define i101 @array()
-{
-Head:
- %A = getelementptr [6 x i101], [6 x i101]* @Y, i32 0, i32 1
-
- %B = load i101, i101* %A
- %C = icmp sge i101 %B, 1
- br i1 %C, label %True, label %False
-True:
- %D = and i101 %B, 1
- %E = trunc i101 %D to i32
- %F = getelementptr [6 x i101], [6 x i101]* @Y, i32 0, i32 %E
- %G = load i101, i101* %F
- br label %False
-False:
- %H = phi i101 [%G, %True], [-1, %Head]
- ret i101 %H
-}
OpenPOWER on IntegriCloud