Richard Smith
b44ba47cf3
Don't treat dependent types as having a copy value representation. ( #6055 )
...
Add `Dependent` value and initializing representations for types whose
representations are unknown because they are dependent. When generating
SemIR in such cases, use a worst-case initializing representation that
both provides a destination address and also propagates a potential
result value.
Use this to fix incorrect lowering and lowering crashes for specific
functions involving generic types that don't use a copy value
representation.
In lowering, be careful to distinguish between whether the initializing
representation for the generic return type uses a return slot (which
affects whether the SemIR declaration and call have one) and whether the
initializing representation for the specific return type uses a return
slot (which affects whether the LLVM IR declaration and call have one).
2025-09-15 23:59:00 +00:00
..
2025-09-15 17:03:43 +00:00
2025-09-15 23:59:00 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-09-10 17:57:08 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-08-20 18:30:11 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-08-12 00:10:43 +00:00
2025-08-20 18:30:11 +00:00
2025-06-25 21:03:15 +00:00
2025-08-20 18:30:11 +00:00
2025-08-20 18:30:11 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-06-17 21:10:04 +00:00
2025-09-04 19:19:59 +00:00
2025-06-17 21:10:04 +00:00
2025-09-03 21:00:12 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-08-12 00:10:43 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-09-10 23:55:55 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-09-10 23:55:55 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-09-10 17:57:08 +00:00
2025-09-10 17:57:08 +00:00
2025-06-17 21:10:04 +00:00
2025-08-20 18:30:11 +00:00
2025-08-20 18:30:11 +00:00
2025-09-15 17:03:43 +00:00
2025-08-12 00:10:43 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-08-20 18:30:11 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-08-06 23:55:05 +00:00
2025-09-15 17:03:43 +00:00
2025-06-18 20:45:46 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-08-06 23:55:05 +00:00
2025-08-04 19:39:22 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-08-12 00:10:43 +00:00
2025-09-12 00:13:33 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-09-15 17:03:43 +00:00
2025-09-10 17:57:08 +00:00
2025-08-12 00:10:43 +00:00
2025-09-15 17:03:43 +00:00