aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Bitcode/BitReaderTest.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-01-14 05:14:30 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-01-14 05:14:30 +0000
commit9f6bddd4b201b14d2fc2921a5bdc0a156c64a5f4 (patch)
tree5fe587ed649dd544f817cb8a062ef51a10f0d86a /llvm/unittests/Bitcode/BitReaderTest.cpp
parentf864ae2745376b5e996a1d1fdfef32c0bfd8567e (diff)
downloadllvm-9f6bddd4b201b14d2fc2921a5bdc0a156c64a5f4.zip
llvm-9f6bddd4b201b14d2fc2921a5bdc0a156c64a5f4.tar.gz
llvm-9f6bddd4b201b14d2fc2921a5bdc0a156c64a5f4.tar.bz2
NVPTX: Use MapMetadata() instead of custom/stale/untested logic
Copy the `GVMap` over to a standard `ValueToValueMapTy` so that we can reuse the `MapMetadata()` logic. Unfortunately the `GVMap` can't just be replaced, since `MapMetadata()` likes to modify the map, but at least this will prevent NVPTX from bitrotting. llvm-svn: 225944
Diffstat (limited to 'llvm/unittests/Bitcode/BitReaderTest.cpp')
0 files changed, 0 insertions, 0 deletions