about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-12-14 20:47:30 +0100
committerGitHub <noreply@github.com>2021-12-14 20:47:30 +0100
commita38d668296476d5b7c44eb9131a468277bb95767 (patch)
treea0d559f8f2004fef1db649583b6cf987731b9ad2 /compiler/rustc_codegen_llvm/src
parentf608e519ccad7de0ee37fa520303e4cf948f5970 (diff)
parentffe067cdfcedd34989fb6ece769eb34a24eb4f9c (diff)
downloadrust-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')
0 files changed, 0 insertions, 0 deletions