about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2019-12-05 10:40:24 +0300
committerÖmer Sinan Ağacan <omeragacan@gmail.com>2019-12-06 19:36:34 +0300
commit2404a067eedd83ab69bb0e07fdc8145825741722 (patch)
treea495185c7617b7195398a520cc3fb61402aa2973 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parentd0126e8ed3cc0d6fcb9dd44c36a46f9ce65010a0 (diff)
downloadrust-2404a067eedd83ab69bb0e07fdc8145825741722.tar.gz
rust-2404a067eedd83ab69bb0e07fdc8145825741722.zip
const-prop: Restrict scalar pair propagation
We now only propagate a scalar pair if the Rvalue is a tuple with two
scalars. This for example avoids propagating a (u8, u8) value when
Rvalue has type `((), u8, u8)` (see the regression test). While this is
a correct thing to do, implementation is tricky and will be done later.

Fixes #66971
Fixes #66339
Fixes #67019
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions