diff options
| author | bors <bors@rust-lang.org> | 2020-09-06 14:21:11 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-09-06 14:21:11 +0000 |
| commit | 4b65872d272875adb298b6dc12d5e4e79cf8e263 (patch) | |
| tree | f142662a2a983e9f0b40196b3edbf619aab90ea5 /compiler/rustc_codegen_llvm/src | |
| parent | aa81d32165dc9f0952bc520f223503aedd755b31 (diff) | |
| parent | 9b0fc6202bf295e2518f7a781ca069c71c81698f (diff) | |
| download | rust-4b65872d272875adb298b6dc12d5e4e79cf8e263.tar.gz rust-4b65872d272875adb298b6dc12d5e4e79cf8e263.zip | |
Auto merge of #76067 - simonvandel:peephole-ne, r=wesleywiser
MIR peephole optimize {Ne, Eq}(_1, false) into _1
Add peephole optimization that simplifies Ne(_1, false) and Ne(false, _1) into _1. Similarly handles Eq(_1, true) and Eq(true, _1).
This was observed emitted from the MatchBranchSimplification pass.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
