about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-12-11 10:10:42 +0100
committerGitHub <noreply@github.com>2019-12-11 10:10:42 +0100
commit04e0512c7a94736e104e5d25a4705c37fa93a7e2 (patch)
tree4c296527ca67b7f6b05c7465a58372d9eac431a5 /src/test/codegen/src-hash-algorithm
parent830b4ee76adea7577615c7a6950e14c22cf0fb20 (diff)
parent2404a067eedd83ab69bb0e07fdc8145825741722 (diff)
downloadrust-04e0512c7a94736e104e5d25a4705c37fa93a7e2.tar.gz
rust-04e0512c7a94736e104e5d25a4705c37fa93a7e2.zip
Rollup merge of #67015 - osa1:issue66971, r=wesleywiser
Fix constant propagation for scalar pairs

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')
0 files changed, 0 insertions, 0 deletions