summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopUnroll/runtime-li.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/LoopUnroll/runtime-li.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/LoopUnroll/runtime-li.ll')
-rw-r--r--llvm/test/Transforms/LoopUnroll/runtime-li.ll36
1 files changed, 0 insertions, 36 deletions
diff --git a/llvm/test/Transforms/LoopUnroll/runtime-li.ll b/llvm/test/Transforms/LoopUnroll/runtime-li.ll
deleted file mode 100644
index 5494c8e9da7..00000000000
--- a/llvm/test/Transforms/LoopUnroll/runtime-li.ll
+++ /dev/null
@@ -1,36 +0,0 @@
-; RUN: opt -S -loop-unroll -unroll-runtime -unroll-count=2 -verify-loop-info -pass-remarks=loop-unroll < %s 2>&1 | FileCheck %s
-
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-target triple = "x86_64-unknown-linux-gnu"
-
-; Verify that runtime-unrolling a top-level loop that has nested loops does not
-; make the unroller produce invalid loop-info.
-; CHECK: remark: {{.*}}: unrolled loop by a factor of 2 with run-time trip count
-; CHECK: @widget
-; CHECK: ret void
-define void @widget(double* %arg, double* %arg1, double* %p, i64* %q1, i64* %q2) local_unnamed_addr {
-entry:
- br label %header.outer
-
-header.outer: ; preds = %latch.outer, %entry
- %tmp = phi double* [ %tmp8, %latch.outer ], [ %arg, %entry ]
- br label %header.inner
-
-header.inner: ; preds = %latch.inner, %header.outer
- br i1 undef, label %latch.inner, label %latch.outer
-
-latch.inner: ; preds = %header.inner
- %tmp5 = load i64, i64* %q1, align 8
- store i64 %tmp5, i64* %q2, align 8
- %tmp6 = icmp eq double* %p, %arg
- br label %header.inner
-
-latch.outer: ; preds = %header.inner
- store double 0.0, double* %p, align 8
- %tmp8 = getelementptr inbounds double, double* %tmp, i64 1
- %tmp9 = icmp eq double* %tmp8, %arg1
- br i1 %tmp9, label %exit, label %header.outer
-
-exit: ; preds = %latch.outer
- ret void
-}
OpenPOWER on IntegriCloud