aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJez Ng <jezng@fb.com>2021-06-28 14:43:34 -0400
committerJez Ng <jezng@fb.com>2021-06-28 14:49:39 -0400
commit557e1fa02f470bd4f14b7aa4060430007332895a (patch)
treeb149cd1be61a95109cb56b95d9f48a38d0b6a70e /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent43fadefb0e77c56de7637c391cf98cf709b27095 (diff)
downloadllvm-557e1fa02f470bd4f14b7aa4060430007332895a.zip
llvm-557e1fa02f470bd4f14b7aa4060430007332895a.tar.gz
llvm-557e1fa02f470bd4f14b7aa4060430007332895a.tar.bz2
[lld-macho] Extend ICF to literal sections
Literal sections can be deduplicated before running ICF. That makes it easy to compare them during ICF: we can tell if two literals are constant-equal by comparing their offsets in their OutputSection. LLD-ELF takes a similar approach. Reviewed By: #lld-macho, gkm Differential Revision: https://reviews.llvm.org/D104671
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions