about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorRémy Rakic <remy.rakic+github@gmail.com>2022-06-13 17:35:00 +0200
committerRémy Rakic <remy.rakic+github@gmail.com>2022-06-28 22:09:29 +0200
commitc9772d76198ec04c9e610ce5d95bb9453021aa1c (patch)
tree12848e293c4031dbaa28bb40569dbd26934183f3 /compiler/rustc_codegen_llvm/src
parent18cbc19de2947008651649bd559f44a5db540d18 (diff)
downloadrust-c9772d76198ec04c9e610ce5d95bb9453021aa1c.tar.gz
rust-c9772d76198ec04c9e610ce5d95bb9453021aa1c.zip
const alloc interning: only check for references for arrays/slices
Checking the size/alignment of an mplace may be costly, so we only do it
on the types where the walk we want to avoid could be expensive: the larger types
like arrays and slices, rather than on all aggregates being interned.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions