]> git.lizzy.rs Git - rust.git/commit
rustc: Inline bitwise modification operators
authorAlex Crichton <alex@alexcrichton.com>
Tue, 1 Aug 2017 01:39:25 +0000 (18:39 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 1 Aug 2017 01:39:25 +0000 (18:39 -0700)
commitdd371a2069e84bf58702cb4c760681ee9c8aa874
tree67e79628c7009998b2f7f6c66a299955a33e4bf3
parent2789db2720109ade328c87f3502dae7356bd825e
rustc: Inline bitwise modification operators

These need to be inlined across crates to avoid showing up as one-instruction
functions in profiles! In the benchmark from #43578 this decreased the
translation item collection step from 30s to 23s, and looks like it also allowed
vectorization elsewhere of the operations!
src/librustc_data_structures/bitslice.rs