diff options
author | Jez Ng <jezng@fb.com> | 2022-09-13 11:15:15 -0400 |
---|---|---|
committer | Jez Ng <jezng@fb.com> | 2022-09-14 17:59:22 -0400 |
commit | 118bfde90aed6fa4012cfd3167c033a78382350d (patch) | |
tree | cfa3ec032dd17a106dc7fa9411cc7c8583a7456a /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | 8d4ca09d068d66d13b258ebccdb9470b50fff881 (diff) | |
download | llvm-118bfde90aed6fa4012cfd3167c033a78382350d.zip llvm-118bfde90aed6fa4012cfd3167c033a78382350d.tar.gz llvm-118bfde90aed6fa4012cfd3167c033a78382350d.tar.bz2 |
[lld-macho] Have ICF dedup explicitly-defined selrefs
This is what ld64 does (though it doesn't use ICF to do this; instead it
always dedups selrefs by default).
We'll want to dedup implicitly-defined selrefs as well, but I will leave
that for future work.
Additionally, I'm not *super* happy with the current LLD implementation
because I think it is rather janky and inefficient. But at least it
moves us toward the goal of closing the size gap with ld64. I've
described ideas for cleaning up our implementation here:
https://github.com/llvm/llvm-project/issues/57714
Differential Revision: https://reviews.llvm.org/D133780
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions