diff options
author | Victor Hernandez <vhernandez@apple.com> | 2010-01-15 03:37:48 +0000 |
---|---|---|
committer | Victor Hernandez <vhernandez@apple.com> | 2010-01-15 03:37:48 +0000 |
commit | 283ba2fbb4a40d5f7615aba070f2f7ec161d19ac (patch) | |
tree | 2b50ef9973091db7646a7325a75f13c791a5b003 /include/llvm/Intrinsics.td | |
parent | 8396a17bc3a6d2cb9aedd22fc15780ac8ab41662 (diff) | |
download | llvm-283ba2fbb4a40d5f7615aba070f2f7ec161d19ac.tar.gz llvm-283ba2fbb4a40d5f7615aba070f2f7ec161d19ac.tar.bz2 llvm-283ba2fbb4a40d5f7615aba070f2f7ec161d19ac.tar.xz |
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
Diffstat (limited to 'include/llvm/Intrinsics.td')
-rw-r--r-- | include/llvm/Intrinsics.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Intrinsics.td b/include/llvm/Intrinsics.td index 0cec567fb8..684f8724cf 100644 --- a/include/llvm/Intrinsics.td +++ b/include/llvm/Intrinsics.td @@ -283,7 +283,7 @@ let Properties = [IntrNoMem] in { // places. let Properties = [IntrNoMem] in { def int_dbg_declare : Intrinsic<[llvm_void_ty], - [llvm_descriptor_ty, llvm_metadata_ty]>; + [llvm_metadata_ty, llvm_metadata_ty]>; def int_dbg_value : Intrinsic<[llvm_void_ty], [llvm_metadata_ty, llvm_i64_ty, llvm_metadata_ty]>; |