diff options
| author | kennytm <kennytm@gmail.com> | 2017-11-26 15:01:39 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-26 15:01:39 +0800 |
| commit | 1aa4dd028d93514c76a557915779381966f15220 (patch) | |
| tree | a8b91ce6a10bcd44510d906bafc3496d98303920 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 788fed81589e6fcf8aa772abd55ebe035f18f8df (diff) | |
| parent | 62391c8c862556e22933af2510f4852b63444b41 (diff) | |
| download | rust-1aa4dd028d93514c76a557915779381966f15220.tar.gz rust-1aa4dd028d93514c76a557915779381966f15220.zip | |
Rollup merge of #46264 - scottmcm:mir-array-len, r=arielb1
InstCombine Len([_; N]) => const N in MIR A small opportunity I noticed in passing. Not super exciting on its own, but opens the door for a const propagation pass that could completely remove const bounds checks from arrays at MIR time, for example.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
