diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2025-03-12 00:38:14 -0700 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2025-03-12 00:56:43 -0700 |
| commit | 143f39362aa3fe30e19de5d2a29bf6535e8f975f (patch) | |
| tree | cf71b92e2b37e17e8ea62f957047a28c01a47ccc /compiler/rustc_codegen_ssa/src/meth.rs | |
| parent | 6650252439d4e03368b305c42a10006e36f1545e (diff) | |
| download | rust-143f39362aa3fe30e19de5d2a29bf6535e8f975f.tar.gz rust-143f39362aa3fe30e19de5d2a29bf6535e8f975f.zip | |
Don't `alloca` just to look at a discriminant
Today we're making LLVM do a bunch of extra work for every enum you match on, even trivial stuff like `Option<bool>`. Let's not.
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/meth.rs')
0 files changed, 0 insertions, 0 deletions
