diff options
author | Chris Lattner <sabre@nondot.org> | 2009-10-19 05:34:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-10-19 05:34:14 +0000 |
commit | 13435d93838f673a3a1a89eae2565b98068470c6 (patch) | |
tree | c89daff74c63b47ace56152b709d9da74662e1cc /test/Feature | |
parent | 52e2031d4a5d76ff37458015a086285dfaceb6d2 (diff) | |
download | external_llvm-13435d93838f673a3a1a89eae2565b98068470c6.zip external_llvm-13435d93838f673a3a1a89eae2565b98068470c6.tar.gz external_llvm-13435d93838f673a3a1a89eae2565b98068470c6.tar.bz2 |
eliminate md_on_instruction.ll, md_on_instruction2.ll is a superset of it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84464 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature')
-rw-r--r-- | test/Feature/md_on_instruction.ll | 3 | ||||
-rw-r--r-- | test/Feature/md_on_instruction2.ll | 22 |
2 files changed, 1 insertions, 24 deletions
diff --git a/test/Feature/md_on_instruction.ll b/test/Feature/md_on_instruction.ll index d765cd8..da9e49e 100644 --- a/test/Feature/md_on_instruction.ll +++ b/test/Feature/md_on_instruction.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as < %s -disable-output - +; RUN: llvm-as < %s | llvm-dis | grep " !dbg " | count 4 define i32 @foo() nounwind ssp { entry: %retval = alloca i32 ; <i32*> [#uses=2] diff --git a/test/Feature/md_on_instruction2.ll b/test/Feature/md_on_instruction2.ll deleted file mode 100644 index da9e49e..0000000 --- a/test/Feature/md_on_instruction2.ll +++ /dev/null @@ -1,22 +0,0 @@ -; RUN: llvm-as < %s | llvm-dis | grep " !dbg " | count 4 -define i32 @foo() nounwind ssp { -entry: - %retval = alloca i32 ; <i32*> [#uses=2] - call void @llvm.dbg.func.start(metadata !0) - store i32 42, i32* %retval, !dbg !3 - br label %0, !dbg !3 - -; <label>:0 ; preds = %entry - call void @llvm.dbg.region.end(metadata !0) - %1 = load i32* %retval, !dbg !3 ; <i32> [#uses=1] - ret i32 %1, !dbg !3 -} - -declare void @llvm.dbg.func.start(metadata) nounwind readnone - -declare void @llvm.dbg.region.end(metadata) nounwind readnone - -!0 = metadata !{i32 458798, i32 0, metadata !1, metadata !"foo", metadata !"foo", metadata !"foo", metadata !1, i32 1, metadata !2, i1 false, i1 true} -!1 = metadata !{i32 458769, i32 0, i32 12, metadata !"foo.c", metadata !"/tmp", metadata !"clang 1.0", i1 true, i1 false, metadata !"", i32 0} -!2 = metadata !{i32 458788, metadata !1, metadata !"int", metadata !1, i32 0, i64 32, i64 32, i64 0, i32 0, i32 5} -!3 = metadata !{i32 1, i32 13, metadata !1, metadata !1} |