diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-01-14 05:14:30 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-01-14 05:14:30 +0000 |
| commit | 9f6bddd4b201b14d2fc2921a5bdc0a156c64a5f4 (patch) | |
| tree | 5fe587ed649dd544f817cb8a062ef51a10f0d86a /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | f864ae2745376b5e996a1d1fdfef32c0bfd8567e (diff) | |
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/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
