about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2021-12-11 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2021-12-14 17:09:00 +0100
commitffe067cdfcedd34989fb6ece769eb34a24eb4f9c (patch)
treeeabd2f2f400c60c0df5ca72fbdf903bc18d76db8 /compiler/rustc_codegen_llvm/src
parent404c8471aba60c2d837fa728e7c729a0f52d5830 (diff)
downloadrust-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