diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-12-14 20:47:30 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-14 20:47:30 +0100 |
| commit | a38d668296476d5b7c44eb9131a468277bb95767 (patch) | |
| tree | a0d559f8f2004fef1db649583b6cf987731b9ad2 /compiler/rustc_codegen_llvm/src/common.rs | |
| parent | f608e519ccad7de0ee37fa520303e4cf948f5970 (diff) | |
| parent | ffe067cdfcedd34989fb6ece769eb34a24eb4f9c (diff) | |
| download | rust-a38d668296476d5b7c44eb9131a468277bb95767.tar.gz rust-a38d668296476d5b7c44eb9131a468277bb95767.zip | |
Rollup merge of #91786 - tmiasko:const-prop, r=oli-obk
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. Fixes #91725. r? `@oli-obk`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/common.rs')
0 files changed, 0 insertions, 0 deletions
