| commit | 2705097e47c6289c8d636a678a6bff3d691bcb12 | [log] [tgz] |
|---|---|---|
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Wed Aug 05 23:22:34 2015 +0000 |
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Wed Aug 05 23:22:34 2015 +0000 |
| tree | 184f75889ac94ac09435dfd638f3e97929b16ef5 | |
| parent | 0f8a99b62f33bbdd534e89e6e6df5338e2f3eba6 [diff] |
ValueMapper: Simplify remap() helper function, NFC Rename `remap()` to `remapOperands()`, and restrict its contract to remapping operands. Previously, it also called `mapToMetadata()`, but this logic is hard to reason about externally. In particular, this refactors `mapUniquedNode()` to avoid redundant mapping calls, taking advantage of the RAUWs that are already in place. llvm-svn: 244168