commit | 3a32865d58f015e7058444eab7085195c34da95a | [log] [tgz] |
---|---|---|
author | Victor Hernandez <vhernandez@apple.com> | Fri Jan 15 19:04:09 2010 +0000 |
committer | Victor Hernandez <vhernandez@apple.com> | Fri Jan 15 19:04:09 2010 +0000 |
tree | 4f6fd059942b2a5290ec3380adb686cca69f58c9 | |
parent | 3752d2fe34a8d576203f8034baeabb02e65c87bc [diff] |
Improve llvm.dbg.declare intrinsic by referring directly to the storage in its first argument, via function-local metadata (instead of via a bitcast). This patch also cleans up code that expects there to be a bitcast in the first argument and testcases that call llvm.dbg.declare. It also strips old llvm.dbg.declare intrinsics that did not pass metadata as the first argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93531 91177308-0d34-0410-b5e6-96231b3b80d8