Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Utils: Keep distinct MDNodes distinct in MapMetadata() | Duncan P. N. Exon Smith | 2015-01-08 | 1 | -0/+13 |
Create new copies of distinct `MDNode`s instead of following the uniquing `MDNode` logic. Just like self-references (or other cycles), `MapMetadata()` creates a new node. In practice most calls use `RF_NoModuleLevelChanges`, in which case nothing is duplicated anyway. Part of PR22111. llvm-svn: 225476 |