diff options
author | Chris Lattner <sabre@nondot.org> | 2009-12-29 02:53:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-12-29 02:53:52 +0000 |
commit | 4654d24d9e7c08fd239df42a18b21faf1651076b (patch) | |
tree | 82e3170f538d3252efa5f417704375699fceee99 /include | |
parent | 8225e60df86e4cdeedef28a296cfca0bdd009a93 (diff) | |
download | external_llvm-4654d24d9e7c08fd239df42a18b21faf1651076b.zip external_llvm-4654d24d9e7c08fd239df42a18b21faf1651076b.tar.gz external_llvm-4654d24d9e7c08fd239df42a18b21faf1651076b.tar.bz2 |
When doing v1->RAUW(v2), don't do anything to metadata. We don't know
why one was replaced with the other. Even in the specific case of
debug information, it doesn't make sense to transfer the location over,
this will just result in jumbled loc info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92241 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Metadata.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/llvm/Metadata.h b/include/llvm/Metadata.h index e634608..1f18536 100644 --- a/include/llvm/Metadata.h +++ b/include/llvm/Metadata.h @@ -234,9 +234,7 @@ public: /// ValueIsDeleted - This handler is used to update metadata store /// when a value is deleted. - void ValueIsDeleted(const Value *) {} void ValueIsDeleted(Instruction *Inst); - void ValueIsRAUWd(Value *V1, Value *V2); /// ValueIsCloned - This handler is used to update metadata store /// when In1 is cloned to create In2. |