Revert "ValueMapper: Make LocalAsMetadata match function-local Values"
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 7 Apr 2016 02:10:50 +0000 (02:10 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 7 Apr 2016 02:10:50 +0000 (02:10 +0000)
commit45601e867d6990b50b1ad54c8db7bbac0950684d
tree883d3ccca6bfa2f8becacb1fe4f47e102c8d462f
parent1cf67fb9cb9354a296cd41cb6d19e56797606237
Revert "ValueMapper: Make LocalAsMetadata match function-local Values"

This reverts commit r265631, since it caused bot failures:
http://lab.llvm.org:8011/builders/clang-ppc64be-linux/builds/3256
http://lab.llvm.org:8011/builders/clang-cmake-aarch64-42vma/builds/7272

Looks like something is depending on the old behaviour.  I'll try to
track it down and recommit.

llvm-svn: 265637
llvm/lib/Transforms/Utils/ValueMapper.cpp
llvm/unittests/Transforms/Utils/ValueMapperTest.cpp