Michael Goulet
897acc3e5d
Encode synthetic by-move coroutine body with a different DefPathData
2025-03-30 22:53:21 +00:00
Michael Goulet
057313b7a6
Reapply "Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=davidtwco,RalfJung"
...
This reverts commit 122a55bb44 .
2025-01-27 23:42:47 +00:00
Rémy Rakic
122a55bb44
Revert "Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=davidtwco,RalfJung"
...
This reverts commit b57d93d8b9 , reversing
changes made to 0aeaa5eb22 .
2025-01-18 22:09:35 +00:00
bors
b57d93d8b9
Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=davidtwco,RalfJung
...
Bounds-check with PtrMetadata instead of Len in MIR
Rather than emitting `Len(*_n)` in array index bounds checks, emit `PtrMetadata(copy _n)` instead -- with some asterisks for arrays and `&mut` that need it to be done slightly differently.
We're getting pretty close to removing `Len` entirely, actually. I think just one more PR after this (for slice drop shims).
r? mir
2024-12-14 22:43:39 +00:00
Michael Goulet
91e74edca0
Encode coroutine-closures in SMIR
2024-12-14 03:45:35 +00:00
Scott McMurray
612adbb6bf
Bounds-check with PtrMetadata instead of Len in MIR
2024-12-03 11:05:45 -08:00
Celina G. Val
dd6ddcb18e
[StableMIR] A few fixes to pretty printing
...
Improve identation, and a few other rvalue printing
2024-11-07 16:16:38 -08:00
Nadrieril
e2fd9aa33e
Set up false edges in lower_match_tree
2024-07-29 09:50:07 +02:00
bjorn3
3733dcc72d
Add needs-unwind annotations to a couple of tests
2024-03-25 14:19:07 +00:00
Celina G. Val
ff504a09fe
Improve emit stable mir body
2024-03-20 15:55:35 -07:00
许杰友 Jieyou Xu (Joe)
ec2cc761bc
[AUTO-GENERATED] Migrate ui tests from // to //@ directives
2024-02-16 20:02:50 +00:00
ouz-a
82ee18c4ea
add stable_mir output test
2023-12-14 18:10:38 +03:00