bors bb95b7dcd6 Auto merge of #112307 - lcnr:operand-ref, r=compiler-errors
mir opt + codegen: handle subtyping

fixes #107205

the same issue was caused in multiple places:
- mir opts: both copy and destination propagation
- codegen: assigning operands to locals (which also propagates values)

I changed codegen to always update the type in the operands used for locals which should guard against any new occurrences of this bug going forward. I don't know how to make mir optimizations more resilient here. Hopefully the added tests will be enough to detect any trivially wrong optimizations going forward.
2023-06-28 00:41:37 +00:00
..
2023-06-01 14:45:19 +00:00
2023-06-14 20:08:04 +00:00
2023-05-29 17:15:48 +02:00
2023-05-17 12:18:55 +00:00
2023-06-22 18:34:23 +00:00
2023-05-15 20:27:12 +00:00
2023-05-15 20:27:12 +00:00
2023-06-19 09:16:26 +02:00
2023-04-10 22:02:52 +02:00