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/SimplifyCFG/fold-branch-debuginvariant.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/SimplifyCFG/fold-branch-debuginvariant.ll')
-rw-r--r-- | llvm/test/Transforms/SimplifyCFG/fold-branch-debuginvariant.ll | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/llvm/test/Transforms/SimplifyCFG/fold-branch-debuginvariant.ll b/llvm/test/Transforms/SimplifyCFG/fold-branch-debuginvariant.ll deleted file mode 100644 index 7b26b6f95de..00000000000 --- a/llvm/test/Transforms/SimplifyCFG/fold-branch-debuginvariant.ll +++ /dev/null @@ -1,49 +0,0 @@ -; RUN: opt < %s -simplifycfg -S | FileCheck %s -; RUN: opt < %s -strip-debug -simplifycfg -S | FileCheck %s - -; Verify that the and.2 instruction is eliminated even in the presence of a -; preceding debug intrinsic. - -; CHECK-LABEL: bb1: -; CHECK: and i1 false, false -; CHECK-LABEL: bb2: -; CHECK-NOT: and i1 false, false - -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 -define void @foo() local_unnamed_addr #0 !dbg !4 { -bb1: - %and.1 = and i1 false, false - %cmp = icmp eq i16 0, 0 - br i1 %cmp, label %bb2, label %bb3 - -bb2: ; preds = %bb1 - call void @llvm.dbg.value(metadata i16 0, metadata !8, metadata !DIExpression()), !dbg !9 - %and.2 = and i1 false, false - br label %bb3 - -bb3: ; preds = %bb2, %bb1 - ret void -} - -; Function Attrs: nounwind readnone speculatable -declare void @llvm.dbg.value(metadata, metadata, metadata) #1 - -attributes #0 = { norecurse nounwind } -attributes #1 = { nounwind readnone speculatable } - -!llvm.dbg.cu = !{!0} -!llvm.module.flags = !{!3} - -!0 = distinct !DICompileUnit(language: DW_LANG_C, file: !1, producer: "Foo", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !2, retainedTypes: !2, globals: !2) -!1 = !DIFile(filename: "foo.c", directory: "/") -!2 = !{} -!3 = !{i32 2, !"Debug Info Version", i32 3} -!4 = distinct !DISubprogram(name: "foo", scope: !1, file: !1, line: 10, type: !5, isLocal: false, isDefinition: true, scopeLine: 10, isOptimized: false, unit: !0, retainedNodes: !2) -!5 = !DISubroutineType(types: !6) -!6 = !{null, !7} -!7 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) -!8 = !DILocalVariable(name: "p_1", arg: 1, scope: !4, line: 4, type: !7) -!9 = distinct !DILocation(line: 11, column: 3, scope: !4) |