diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2021-12-11 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2021-12-14 17:09:00 +0100 |
| commit | ffe067cdfcedd34989fb6ece769eb34a24eb4f9c (patch) | |
| tree | eabd2f2f400c60c0df5ca72fbdf903bc18d76db8 /compiler/rustc_codegen_llvm/src | |
| parent | 404c8471aba60c2d837fa728e7c729a0f52d5830 (diff) | |
| download | rust-ffe067cdfcedd34989fb6ece769eb34a24eb4f9c.tar.gz rust-ffe067cdfcedd34989fb6ece769eb34a24eb4f9c.zip | |
Return an error when `eval_rvalue_with_identities` fails
Previously some code paths would fail to evaluate the rvalue, while incorrectly indicating success with `Ok`. As a result the previous value of lhs could have been incorrectly const propagated.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
