about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-08-07 15:28:07 +0000
committerbors <bors@rust-lang.org>2020-08-07 15:28:07 +0000
commita7fa264ae71e155f6ba7997cb31e969cb3b723c6 (patch)
treeba1c4d2b316f51238ae934e89a4f5695c820f655 /src/test/codegen/src-hash-algorithm
parenta285b5836883affe23e3d160013aaee0e74bd981 (diff)
parent98f3c79385bbd2d48ece5d334d5fc9525b0a330a (diff)
downloadrust-a7fa264ae71e155f6ba7997cb31e969cb3b723c6.tar.gz
rust-a7fa264ae71e155f6ba7997cb31e969cb3b723c6.zip
Auto merge of #74821 - oli-obk:const_eval_read_uninit_fast_path, r=wesleywiser
Check whether locals are too large instead of whether accesses into them are too large

Essentially this stops const prop from attempting to optimize

```rust
let mut x = [0_u8; 5000];
x[42] = 3;
```

I don't expect this to be a perf improvement without #73656 (which is also where the lack of this PR will be a perf regression).

r? @wesleywiser
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions