diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-03-16 21:51:27 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-03-16 21:51:27 +0000 |
commit | 4507f089d48c5adb454cd12b68333d5590ce05dd (patch) | |
tree | 9617b37580daabf432c2873bf93ba9e32bef0144 /test/CodeGen/Generic | |
parent | bb6c77e6b9be405fb4d57c8ee4cddc2018df392c (diff) | |
download | external_llvm-4507f089d48c5adb454cd12b68333d5590ce05dd.zip external_llvm-4507f089d48c5adb454cd12b68333d5590ce05dd.tar.gz external_llvm-4507f089d48c5adb454cd12b68333d5590ce05dd.tar.bz2 |
Fix liveintervals handling of dbg_value instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98686 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Generic')
-rw-r--r-- | test/CodeGen/Generic/dbg_value.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/dbg_value.ll b/test/CodeGen/Generic/dbg_value.ll new file mode 100644 index 0000000..ce3364d --- /dev/null +++ b/test/CodeGen/Generic/dbg_value.ll @@ -0,0 +1,13 @@ +; RUN: llc < %s +; rdar://7759395 + +%0 = type { i32, i32 } + +define void @t(%0*, i32, i32, i32, i32) nounwind { + tail call void @llvm.dbg.value(metadata !{%0* %0}, i64 0, metadata !0) + unreachable +} + +declare void @llvm.dbg.value(metadata, i64, metadata) nounwind readnone + +!0 = metadata !{i32 0} ; |