diff options
author | Florian Hahn <flo@fhahn.com> | 2020-12-17 08:47:46 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2020-12-17 09:06:51 +0000 |
commit | eba09a2db9eab46832cb7ec7ef0d2c227747772a (patch) | |
tree | 12ef456350f635b7f055265776d7dd5350bd72dc /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 7f19712a6a9e65bdc9a9843ea488030bc12f3acc (diff) | |
download | llvm-eba09a2db9eab46832cb7ec7ef0d2c227747772a.zip llvm-eba09a2db9eab46832cb7ec7ef0d2c227747772a.tar.gz llvm-eba09a2db9eab46832cb7ec7ef0d2c227747772a.tar.bz2 |
[InstCombine] Preserve !annotation for newly created instructions.
When replacing an instruction with !annotation with a newly created
replacement, add the !annotation metadata to the replacement.
This mostly covers cases where the new instructions are created using
the ::Create helpers. Instructions created by IRBuilder will be handled
by D91444.
Reviewed By: thegameg
Differential Revision: https://reviews.llvm.org/D93399
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions