summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-09-14 01:37:57 +0000
committerDan Gohman <gohman@apple.com>2010-09-14 01:37:57 +0000
commit5781f3e9fc1b821f4803ddced16a59c23523f6a7 (patch)
treefa5334b4ec69ea5271a50a6133ee932c56408a81 /utils
parent338f3acb7f47fc70b977882daf34e8a5b3cfdd1d (diff)
downloadllvm-5781f3e9fc1b821f4803ddced16a59c23523f6a7.tar.gz
llvm-5781f3e9fc1b821f4803ddced16a59c23523f6a7.tar.bz2
llvm-5781f3e9fc1b821f4803ddced16a59c23523f6a7.tar.xz
When a function-local value with function-local metadata uses gets RAUWed with a
non-function-local value, it may result in the metadata no longer needing to be function-local. Check for this condition, and clear the isFunctionLocal flag, if it's still in the uniquing map, since any node in the uniquing map needs to have an accurate function-local flag. Also, add an assert to help catch problematic cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113828 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions