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
..
2024-12-13 00:04:56 +00:00
2024-12-10 08:55:59 +01:00
2024-11-18 10:38:56 +01:00
2024-11-18 10:38:56 +01:00
2024-11-03 13:38:47 -08:00
2024-11-18 10:38:56 +01:00
2024-09-22 19:11:29 -04:00
2024-11-19 18:06:20 +01:00
2024-09-22 19:11:29 -04:00
2024-11-18 10:38:56 +01:00
2024-10-05 12:48:02 +00:00
2024-09-24 23:12:02 +02:00
2024-11-19 18:06:20 +01:00
2024-12-10 12:07:13 +11:00
2024-11-18 10:38:56 +01:00
2024-11-14 16:18:41 -06:00
2024-12-13 17:25:29 +01:00
2024-11-20 20:53:11 +08:00
2024-11-19 18:06:20 +01:00
2024-09-13 15:46:20 +10:00
2024-11-26 10:45:21 +00:00
2024-09-24 14:25:16 -07:00
2024-11-26 10:45:21 +00:00
2024-11-03 13:38:47 -08:00
2024-12-10 12:06:03 +11:00
2024-11-12 13:28:05 +00:00
2024-11-03 13:38:47 -08:00
2024-11-03 13:38:47 -08:00
2024-11-25 20:19:08 +01:00
2024-12-02 13:38:18 +01:00
2024-12-03 11:05:45 -08:00
2024-11-20 20:53:11 +08:00
2024-11-23 13:52:56 +01:00
2024-11-18 10:38:56 +01:00
2024-12-10 01:29:43 -08:00
2024-12-05 20:07:26 +11:00
2024-11-26 12:05:57 +11:00
2024-11-26 10:45:21 +00:00
2024-09-24 23:12:02 +02:00
2024-11-26 10:45:21 +00:00
2024-11-26 10:45:21 +00:00
2024-12-02 13:38:18 +01:00
2024-11-23 13:52:57 +01:00
2024-09-10 09:11:17 +10:00
2024-11-18 10:38:56 +01:00
2024-11-26 12:05:57 +11:00
2024-11-20 20:53:11 +08:00
2024-12-05 20:07:26 +11:00
2024-11-26 10:45:21 +00:00
2024-11-26 10:45:21 +00:00
2024-09-22 19:11:29 -04:00
2024-12-10 16:52:20 +00:00
2024-11-18 10:38:56 +01:00
2024-11-18 10:38:56 +01:00
2024-11-20 20:53:11 +08:00
2024-09-29 13:31:30 +02:00
2024-11-18 10:38:56 +01:00
2024-11-19 18:06:20 +01:00
2024-12-10 01:29:43 -08:00
2024-11-18 10:38:56 +01:00
2024-11-26 10:45:21 +00:00
2024-12-03 11:05:45 -08:00