diff options
author | Eric Christopher <echristo@gmail.com> | 2019-04-17 02:12:23 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2019-04-17 02:12:23 +0000 |
commit | a86343512845c9c1fdbac865fea88aa5fce7142a (patch) | |
tree | 666fc6353de19ad8b00e56b67edd33f24104e4a7 /llvm/test/Transforms/LoopSimplify/single-backedge.ll | |
parent | 7f8ca6e3679b3af951cb7a4b1377edfaa3244b93 (diff) | |
download | bcm5719-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/LoopSimplify/single-backedge.ll')
-rw-r--r-- | llvm/test/Transforms/LoopSimplify/single-backedge.ll | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/llvm/test/Transforms/LoopSimplify/single-backedge.ll b/llvm/test/Transforms/LoopSimplify/single-backedge.ll deleted file mode 100644 index 7739b33d0de..00000000000 --- a/llvm/test/Transforms/LoopSimplify/single-backedge.ll +++ /dev/null @@ -1,44 +0,0 @@ -; The loop canonicalization pass should guarantee that there is one backedge -; for all loops. This allows the -indvars pass to recognize the %IV -; induction variable in this testcase. - -; RUN: opt < %s -indvars -S | FileCheck %s -; CHECK: Loop.backedge: -; CHECK-NOT: br -; CHECK: br label %Loop, !dbg [[BACKEDGE_LOC:![0-9]+]] - -; CHECK: [[BACKEDGE_LOC]] = !DILocation(line: 101, column: 1, scope: !{{.*}}) - -define i32 @test(i1 %C) { -; <label>:0 - br label %Loop, !dbg !6 -Loop: ; preds = %BE2, %BE1, %0 - %IV = phi i32 [ 1, %0 ], [ %IV2, %BE1 ], [ %IV2, %BE2 ] ; <i32> [#uses=2] - store i32 %IV, i32* null, !dbg !7 - %IV2 = add i32 %IV, 2, !dbg !8 ; <i32> [#uses=2] - br i1 %C, label %BE1, label %BE2, !dbg !9 -BE1: ; preds = %Loop - br label %Loop, !dbg !10 -BE2: ; preds = %n br label %Loop - br label %Loop, !dbg !11 -} - -!llvm.module.flags = !{!0, !1} -!llvm.dbg.cu = !{!12} -!0 = !{i32 2, !"Dwarf Version", i32 4} -!1 = !{i32 2, !"Debug Info Version", i32 3} - -!2 = !{} -!3 = !DISubroutineType(types: !2) -!4 = !DIFile(filename: "atomic.cpp", directory: "/tmp") -!5 = distinct !DISubprogram(name: "test", scope: !4, file: !4, line: 99, type: !3, isLocal: false, isDefinition: true, scopeLine: 100, flags: DIFlagPrototyped, isOptimized: false, unit: !12, retainedNodes: !2) -!6 = !DILocation(line: 100, column: 1, scope: !5) -!7 = !DILocation(line: 101, column: 1, scope: !5) -!8 = !DILocation(line: 102, column: 1, scope: !5) -!9 = !DILocation(line: 103, column: 1, scope: !5) -!10 = !DILocation(line: 104, column: 1, scope: !5) -!11 = !DILocation(line: 105, column: 1, scope: !5) -!12 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang", - file: !4, - isOptimized: true, flags: "-O2", - splitDebugFilename: "abc.debug", emissionKind: 2) |