diff options
| author | bors <bors@rust-lang.org> | 2020-09-25 04:17:03 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-09-25 04:17:03 +0000 |
| commit | 9d74efe32eb8e1053d9e00f604d4c5760be9382f (patch) | |
| tree | 835cf88b7bbd7c91d4307878fbcc6a0e73914bc4 /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | 5bfeee5fe0140b0c2e5c96b3208c02c4ab04f8b5 (diff) | |
| parent | a875c7a1ea31f86d4a796209f50303564ce15a16 (diff) | |
| download | rust-9d74efe32eb8e1053d9e00f604d4c5760be9382f.tar.gz rust-9d74efe32eb8e1053d9e00f604d4c5760be9382f.zip | |
Auto merge of #76844 - simonvandel:fix-76803, r=wesleywiser
Fix #76803 miscompilation Fixes #76803 Seems like it was an oversight that the discriminant value being set was not compared to the target value from the SwitchInt, as a comment says this is a requirement for the optimization to be sound. r? `@wesleywiser` since you are probably familiar with the optimization and made #76837 to workaround the bug
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
