aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/ScalarEvolution.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-06-22 22:53:21 +0000
committerDevang Patel <dpatel@apple.com>2010-06-22 22:53:21 +0000
commit186b3d260643de5db63c4bab15beceb9edaee396 (patch)
tree20ba5462d067bbef2aa2537eabdc8cd7b3a2d4c6 /lib/Analysis/ScalarEvolution.cpp
parent3bf329f49512e633df430c097bfd5bdaa122ba55 (diff)
If a metadata operand is seeded in value map and the metadata should also be seeded in value map. This is not limited to function local metadata.
Failure to seed metdata in such cases causes troubles when in a cloned module, metadata from a new module refers to values in old module. Usually this results in mysterious bugpoint crashes. For example, Checking to see if we can delete global inits: Unknown constant! UNREACHABLE executed at /d/g/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp:904! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106592 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ScalarEvolution.cpp')
0 files changed, 0 insertions, 0 deletions