aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/Reassociate
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2011-08-02 02:23:42 +0000
committerOwen Anderson <resistor@mac.com>2011-08-02 02:23:42 +0000
commit9b7fdc7e8af26b65c9afdee45d4ec0b22c8a17c8 (patch)
tree7e6632ae2ae784824a916088ccae892b165e5c05 /test/Transforms/Reassociate
parent74699fda1598c3c30c1a237fe7e75b11d1a53596 (diff)
Revert r136503 and r136480 in an effort to fix non-determinism in the llvm-gcc buildbots on i386. Devang is looking into the root cause.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136674 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/Reassociate')
-rw-r--r--test/Transforms/Reassociate/dbg-value.ll38
1 files changed, 0 insertions, 38 deletions
diff --git a/test/Transforms/Reassociate/dbg-value.ll b/test/Transforms/Reassociate/dbg-value.ll
index 65f9c17c53..e69de29bb2 100644
--- a/test/Transforms/Reassociate/dbg-value.ll
+++ b/test/Transforms/Reassociate/dbg-value.ll
@@ -1,38 +0,0 @@
-; RUN: opt -reassociate -S < %s | FileCheck %s
-; PR 10176
-define i64 @foo(i64 %a, i64 %b, i64 %c) nounwind uwtable readnone ssp {
-entry:
- tail call void @llvm.dbg.value(metadata !{i64 %a}, i64 0, metadata !6), !dbg !11
- tail call void @llvm.dbg.value(metadata !{i64 %b}, i64 0, metadata !7), !dbg !12
- tail call void @llvm.dbg.value(metadata !{i64 %c}, i64 0, metadata !8), !dbg !13
- %add = add nsw i64 %c, %b, !dbg !14
-;CHECK-NOT: call void @llvm.dbg.value(metadata !{i64 %add}
- tail call void @llvm.dbg.value(metadata !{i64 %add}, i64 0, metadata !9), !dbg !14
- %add4 = add nsw i64 %add, %a, !dbg !15
- ret i64 %add4, !dbg !15
-}
-
-declare void @llvm.dbg.declare(metadata, metadata) nounwind readnone
-
-declare void @llvm.dbg.value(metadata, i64, metadata) nounwind readnone
-
-!llvm.dbg.cu = !{!0}
-!llvm.dbg.sp = !{!1}
-!llvm.dbg.lv.foo = !{!6, !7, !8, !9}
-
-!0 = metadata !{i32 655377, i32 0, i32 12, metadata !"dan.c", metadata !"/private/tmp", metadata !"clang version 3.0 (trunk 136263)", i1 true, i1 true, metadata !"", i32 0} ; [ DW_TAG_compile_unit ]
-!1 = metadata !{i32 655406, i32 0, metadata !2, metadata !"foo", metadata !"foo", metadata !"", metadata !2, i32 1, metadata !3, i1 false, i1 true, i32 0, i32 0, i32 0, i32 256, i1 true, i64 (i64, i64, i64)* @foo, null, null} ; [ DW_TAG_subprogram ]
-!2 = metadata !{i32 655401, metadata !"dan.c", metadata !"/private/tmp", metadata !0} ; [ DW_TAG_file_type ]
-!3 = metadata !{i32 655381, metadata !2, metadata !"", metadata !2, i32 0, i64 0, i64 0, i32 0, i32 0, i32 0, metadata !4, i32 0, i32 0} ; [ DW_TAG_subroutine_type ]
-!4 = metadata !{metadata !5}
-!5 = metadata !{i32 655396, metadata !0, metadata !"long int", null, i32 0, i64 64, i64 64, i64 0, i32 0, i32 5} ; [ DW_TAG_base_type ]
-!6 = metadata !{i32 655617, metadata !1, metadata !"a", metadata !2, i32 16777217, metadata !5, i32 0, i32 0} ; [ DW_TAG_arg_variable ]
-!7 = metadata !{i32 655617, metadata !1, metadata !"b", metadata !2, i32 33554433, metadata !5, i32 0, i32 0} ; [ DW_TAG_arg_variable ]
-!8 = metadata !{i32 655617, metadata !1, metadata !"c", metadata !2, i32 50331649, metadata !5, i32 0, i32 0} ; [ DW_TAG_arg_variable ]
-!9 = metadata !{i32 655616, metadata !10, metadata !"d", metadata !2, i32 2, metadata !5, i32 0, i32 0} ; [ DW_TAG_auto_variable ]
-!10 = metadata !{i32 655371, metadata !1, i32 1, i32 34, metadata !2, i32 0} ; [ DW_TAG_lexical_block ]
-!11 = metadata !{i32 1, i32 15, metadata !1, null}
-!12 = metadata !{i32 1, i32 23, metadata !1, null}
-!13 = metadata !{i32 1, i32 31, metadata !1, null}
-!14 = metadata !{i32 2, i32 17, metadata !10, null}
-!15 = metadata !{i32 3, i32 3, metadata !10, null}