diff options
| author | bors <bors@rust-lang.org> | 2024-12-07 06:56:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-12-07 06:56:50 +0000 |
| commit | cdb89d6b15056a5cfa8932231360ae358b08983f (patch) | |
| tree | 9aa22e9419480ab2c0f71ddab334004b77803b6b /compiler/rustc_codegen_ssa/src/mir/mod.rs | |
| parent | ca13e9169fbbbb126190631b5a1e3e20053a52c1 (diff) | |
| parent | 44019ee33067fba418873f79b684b1d30f2538df (diff) | |
| download | rust-cdb89d6b15056a5cfa8932231360ae358b08983f.tar.gz rust-cdb89d6b15056a5cfa8932231360ae358b08983f.zip | |
Auto merge of #133897 - oli-obk:push-lsxrqtqqwmpt, r=jieyouxu
Remove a lit_to_const call
We have so many special cases of `match expr.kind { Lit() => {}, Unary(Neg, Lit()) => {} }`... I'm trying to figure out how to get these all unified, but outright removing some is good, too. So let's try it.
Tho we don't have many `const {}` blocks in the perf test suite... But I also don't know how common `const { 42 }` blocks are, I'd expect these to occur mostly from macros (like `thread_local!`)
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/mir/mod.rs')
0 files changed, 0 insertions, 0 deletions
