diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2021-09-15 23:01:01 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-09-16 21:06:57 +0200 |
commit | 0fc624f029f568e91caf74d90abc5d8d971151c2 (patch) | |
tree | b5df3a596e39e04fbb61b3003e08676f4269176d /llvm/lib/Support/BinaryStreamWriter.cpp | |
parent | a2fd05ada9030eab2258fff25e77a05adccae128 (diff) | |
download | llvm-0fc624f029f568e91caf74d90abc5d8d971151c2.zip llvm-0fc624f029f568e91caf74d90abc5d8d971151c2.tar.gz llvm-0fc624f029f568e91caf74d90abc5d8d971151c2.tar.bz2 |
[IR] Return AAMDNodes from Instruction::getMetadata() (NFC)
getMetadata() currently uses a weird API where it populates a
structure passed to it, and optionally merges into it. Instead,
we can return the AAMDNodes and provide a separate merge() API.
This makes usages more compact.
Differential Revision: https://reviews.llvm.org/D109852
Diffstat (limited to 'llvm/lib/Support/BinaryStreamWriter.cpp')
0 files changed, 0 insertions, 0 deletions