llvm-mirror/include
Duncan P. N. Exon Smith 5e94641b4a ValueMapper: Add support for seeding metadata with nullptr
Support seeding a ValueMap with nullptr for Metadata entries, a
situation I didn't consider in the Metadata/Value split.

I added a ValueMapper::getMappedMD accessor that returns an
Optional<Metadata*> with the mapped (possibly null) metadata.  IRMover
needs to use this to avoid modifying the map when it's checking for
unneeded subprograms.  I updated a call from bugpoint since I find the
new code clearer.

llvm-svn: 265228
2016-04-02 17:04:38 +00:00
..
llvm ValueMapper: Add support for seeding metadata with nullptr 2016-04-02 17:04:38 +00:00
llvm-c Swift Calling Convention: add swifterror attribute. 2016-04-01 21:41:15 +00:00