mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 06:34:41 +01:00
Generate parameter pattern-match IR from pattern IR (#4388)
Also propagate the pattern IR along with the pattern-match IR, and use it where appropriate. Strictly speaking, some parts of the pattern-match IR are allocated eagerly, while traversing the pattern's parse tree, but they still aren't actually emitted until we traverse the associated pattern insts. --------- Co-authored-by: Jon Ross-Perkins <jperkins@google.com>
This commit is contained in:
co-authored by
Jon Ross-Perkins
parent
4a73b36688
commit
9d942f4633
@@ -921,6 +921,7 @@ class TypeCompleter {
|
||||
-> SemIR::ValueRepr {
|
||||
switch (builtin.builtin_inst_kind) {
|
||||
case SemIR::BuiltinInstKind::TypeType:
|
||||
case SemIR::BuiltinInstKind::AutoType:
|
||||
case SemIR::BuiltinInstKind::Error:
|
||||
case SemIR::BuiltinInstKind::Invalid:
|
||||
case SemIR::BuiltinInstKind::BoolType:
|
||||
|
||||
Reference in New Issue
Block a user