about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-03-02 10:09:35 +0100
committerGitHub <noreply@github.com>2024-03-02 10:09:35 +0100
commitb2c933a1b980e458aa3ac9699aa1a413c541a8c4 (patch)
treecd90ee9a4d8ddc99af0929e1a35ebbd34d19a163 /compiler/rustc_codegen_llvm/src
parent1c724ee110832957cfc0242d8b64fae00ceacbb7 (diff)
parentae1e1bd216f5694bd540c09854911b67d59378dd (diff)
downloadrust-b2c933a1b980e458aa3ac9699aa1a413c541a8c4.tar.gz
rust-b2c933a1b980e458aa3ac9699aa1a413c541a8c4.zip
Rollup merge of #121715 - Nadrieril:testcase-or, r=matthewjasper
match lowering: pre-simplify or-patterns too

This is the final part of my work to simplify match pairs early: now we do it for or-patterns too. This makes it possible to collect fake borrows separately from the main match lowering algorithm. That'll enable more simplifications of or-pattern handling.

Note: I was tempted to have `Candidate` contain a `FlatPat`, but there are so many places that use `candidate.match_pairs` etc directly that I chose not to.

r? `@matthewjasper`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions