about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-07-26 18:56:41 +0200
committerGitHub <noreply@github.com>2019-07-26 18:56:41 +0200
commit9d122670fdac45bbc4c06c9df56f1a28541659c7 (patch)
tree1e30ca5f6a76e41822db62e3682d447102be30c2 /src/test/ui/thinlto
parentd1f86c13e4363e981c7d52312d24d00a24f6bd7f (diff)
parent88eced596199548a7653aaf835cda0a93fec36fd (diff)
downloadrust-9d122670fdac45bbc4c06c9df56f1a28541659c7.tar.gz
rust-9d122670fdac45bbc4c06c9df56f1a28541659c7.zip
Rollup merge of #62692 - eddyb:precompute-niches, r=oli-obk
rustc: precompute the largest Niche and store it in LayoutDetails.

Since we only ever can use at most one niche, it makes sense to just store that in the layout, for the simplest caching (especially as it's almost trivial to compute).

There might be a speedup from this, but even if it's marginal now, the caching would be a more significant benefit for future optimization attempts.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions