Improve llvm.dbg.declare intrinsic by referring directly to the storage in its first...
authorVictor Hernandez <vhernandez@apple.com>
Fri, 15 Jan 2010 03:37:48 +0000 (03:37 +0000)
committerVictor Hernandez <vhernandez@apple.com>
Fri, 15 Jan 2010 03:37:48 +0000 (03:37 +0000)
commit283ba2fbb4a40d5f7615aba070f2f7ec161d19ac
tree2b50ef9973091db7646a7325a75f13c791a5b003
parent8396a17bc3a6d2cb9aedd22fc15780ac8ab41662
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93504 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/DebugInfo.h
include/llvm/IntrinsicInst.h
include/llvm/Intrinsics.td
lib/Analysis/DebugInfo.cpp
lib/CodeGen/SelectionDAG/FastISel.cpp
lib/VMCore/Verifier.cpp
test/Assembler/functionlocal-metadata.ll
test/DebugInfo/2009-10-16-Scope.ll
test/DebugInfo/printdbginfo2.ll