diff options
| author | Wesley Wiser <wwiser@gmail.com> | 2019-10-28 05:59:59 -0400 |
|---|---|---|
| committer | Wesley Wiser <wwiser@gmail.com> | 2019-11-11 20:57:26 -0500 |
| commit | db5fc10c21f7ee8ef7649628ae37e6481b8ca14c (patch) | |
| tree | 42229563ddaf7be2c0e814e5a40bf6771701a6a0 /src/test/rustdoc-js-std | |
| parent | bc0e288ad02ef362b5a6c42aaf61f2901c9b46db (diff) | |
| download | rust-db5fc10c21f7ee8ef7649628ae37e6481b8ca14c.tar.gz rust-db5fc10c21f7ee8ef7649628ae37e6481b8ca14c.zip | |
[mir-opt] Turn on the `ConstProp` pass by default
perf.rlo shows that running the `ConstProp` pass results in across-the-board wins regardless of debug or opt complilation mode. As a result, we're turning it on to get the compile time benefits. `ConstProp` doesn't currently intern the memory used by its `Machine` so we can't yet propagate allocations which is why `ConstProp::should_const_prop()` checks if the value being propagated is a scalar or not.
Diffstat (limited to 'src/test/rustdoc-js-std')
0 files changed, 0 insertions, 0 deletions
