commit | 93031ac032219c2200de2df1c73e594a0496ecef | [log] [tgz] |
---|---|---|
author | Devang Patel <dpatel@apple.com> | Fri Jun 04 22:27:30 2010 +0000 |
committer | Devang Patel <dpatel@apple.com> | Fri Jun 04 22:27:30 2010 +0000 |
tree | b7e38a9638c543eff331f03ffa3a18697fd1dd8c | |
parent | 7c21f747c79415934cc5216c09d239427252ab33 [diff] [blame] |
Copy location info for current function argument from dbg.declare if respective store instruction does not have any location info. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105490 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Transforms/Mem2Reg/ConvertDebugInfo2.ll b/test/Transforms/Mem2Reg/ConvertDebugInfo2.ll index e637a0f..4cb621f 100644 --- a/test/Transforms/Mem2Reg/ConvertDebugInfo2.ll +++ b/test/Transforms/Mem2Reg/ConvertDebugInfo2.ll
@@ -1,4 +1,4 @@ -; RUN: opt -mem2reg < %s | llvm-dis | grep ".dbg " | count 6 +; RUN: opt -mem2reg < %s | llvm-dis | grep ".dbg " | count 7 declare void @llvm.dbg.declare(metadata, metadata) nounwind readnone