summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SimplifyCFG/combine-parallel-mem-md.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/SimplifyCFG/combine-parallel-mem-md.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/SimplifyCFG/combine-parallel-mem-md.ll')
-rw-r--r--llvm/test/Transforms/SimplifyCFG/combine-parallel-mem-md.ll56
1 files changed, 0 insertions, 56 deletions
diff --git a/llvm/test/Transforms/SimplifyCFG/combine-parallel-mem-md.ll b/llvm/test/Transforms/SimplifyCFG/combine-parallel-mem-md.ll
deleted file mode 100644
index d3ff927825f..00000000000
--- a/llvm/test/Transforms/SimplifyCFG/combine-parallel-mem-md.ll
+++ /dev/null
@@ -1,56 +0,0 @@
-; RUN: opt -simplifycfg -S < %s | FileCheck %s
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-target triple = "x86_64-unknown-linux-gnu"
-
-; Function Attrs: norecurse nounwind uwtable
-define void @Test(i32* nocapture %res, i32* nocapture readnone %c, i32* nocapture readonly %d, i32* nocapture readonly %p) #0 {
-entry:
- br label %for.body
-
-; CHECK-LABEL: @Test
-; CHECK: load i32, i32* {{.*}}, align 4, !llvm.access.group !0
-; CHECK: load i32, i32* {{.*}}, align 4, !llvm.access.group !0
-; CHECK: store i32 {{.*}}, align 4, !llvm.access.group !0
-; CHECK-NOT: load
-; CHECK-NOT: store
-
-for.body: ; preds = %cond.end, %entry
- %indvars.iv = phi i64 [ 0, %entry ], [ %indvars.iv.next, %cond.end ]
- %arrayidx = getelementptr inbounds i32, i32* %p, i64 %indvars.iv
- %0 = load i32, i32* %arrayidx, align 4, !llvm.access.group !0
- %cmp1 = icmp eq i32 %0, 0
- br i1 %cmp1, label %cond.true, label %cond.false
-
-cond.false: ; preds = %for.body
- %arrayidx3 = getelementptr inbounds i32, i32* %res, i64 %indvars.iv
- %v = load i32, i32* %arrayidx3, align 4, !llvm.access.group !0
- %arrayidx7 = getelementptr inbounds i32, i32* %d, i64 %indvars.iv
- %1 = load i32, i32* %arrayidx7, align 4, !llvm.access.group !0
- %add = add nsw i32 %1, %v
- br label %cond.end
-
-cond.true: ; preds = %for.body
- %arrayidx4 = getelementptr inbounds i32, i32* %res, i64 %indvars.iv
- %w = load i32, i32* %arrayidx4, align 4, !llvm.access.group !0
- %arrayidx8 = getelementptr inbounds i32, i32* %d, i64 %indvars.iv
- %2 = load i32, i32* %arrayidx8, align 4, !llvm.access.group !0
- %add2 = add nsw i32 %2, %w
- br label %cond.end
-
-cond.end: ; preds = %for.body, %cond.false
- %cond = phi i32 [ %add, %cond.false ], [ %add2, %cond.true ]
- %arrayidx9 = getelementptr inbounds i32, i32* %res, i64 %indvars.iv
- store i32 %cond, i32* %arrayidx9, align 4, !llvm.access.group !0
- %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
- %exitcond = icmp eq i64 %indvars.iv.next, 16
- br i1 %exitcond, label %for.end, label %for.body, !llvm.loop !0
-
-for.end: ; preds = %cond.end
- ret void
-}
-
-attributes #0 = { norecurse nounwind uwtable }
-
-!0 = distinct !{!0, !1, !{!"llvm.loop.parallel_accesses", !10}}
-!1 = !{!"llvm.loop.vectorize.enable", i1 true}
-!10 = distinct !{}
OpenPOWER on IntegriCloud