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-12 23:36:27 +00:00
2024-12-12 08:06:59 +01:00
2024-12-06 10:50:20 +00:00
2024-12-01 08:15:25 +01:00
2024-12-12 23:36:27 +00:00
2024-12-14 06:44:05 +00:00
2024-12-12 23:36:27 +00:00
2024-12-07 21:37:13 +00:00
2024-12-05 23:52:21 +00:00
2024-12-04 20:29:36 +00:00
2024-12-07 21:37:13 +00:00
2024-12-14 22:43:39 +00:00
2024-12-02 18:43:37 +01:00
2024-12-07 21:37:13 +00:00
2024-11-30 12:56:54 +08:00
2024-12-14 14:07:56 +01:00
2024-12-14 22:43:39 +00:00
2024-12-10 11:20:19 +08:00
2024-12-12 23:36:27 +00:00
2024-12-12 23:36:27 +00:00
2024-12-07 21:26:20 +00:00
2024-12-04 20:29:35 +00:00
2024-12-12 23:36:27 +00:00
2024-12-14 22:43:39 +00:00
2024-12-14 03:54:31 +01:00
2024-12-12 23:36:27 +00:00
2024-12-02 18:43:37 +01:00
2024-12-09 21:06:29 +08:00
2024-12-04 20:34:48 +08:00
2024-12-09 21:55:01 +00:00
2024-12-10 11:29:43 +08:00
2024-12-12 23:36:27 +00:00
2024-12-12 23:36:27 +00:00
2024-12-07 21:29:58 +00:00
2024-11-30 17:05:47 +00:00
2024-12-05 14:14:17 -08:00
2024-12-13 00:04:56 +00:00
2024-12-09 15:17:26 +01:00
2024-12-07 21:26:20 +00:00
2024-12-12 23:36:27 +00:00
2024-12-05 23:47:10 +01:00
2024-12-12 23:36:27 +00:00
2024-12-12 23:36:27 +00:00
2024-12-14 10:22:43 +00:00
2024-12-12 23:36:27 +00:00
2024-12-02 18:43:37 +01:00
2024-12-12 23:36:27 +00:00
2024-12-13 13:07:07 +01:00
2024-12-10 11:31:13 +08:00
2024-12-14 10:22:43 +00:00
2024-12-05 13:06:34 +09:00
2024-12-04 20:49:05 +00:00
2024-12-02 01:14:40 +07:00
2024-12-14 06:44:05 +00:00
2024-12-07 21:29:58 +00:00
2024-12-08 15:32:04 +08:00
2024-12-13 00:04:56 +00:00
2024-12-07 21:29:58 +00:00
2024-12-14 03:54:31 +01:00
2024-12-01 19:52:27 +01:00
2024-12-07 13:18:05 +11:00
2024-12-07 13:18:05 +11:00
2024-12-14 03:54:31 +01:00
2024-12-12 23:36:27 +00:00
2024-12-12 23:36:27 +00:00
2024-12-13 18:48:33 +00:00
2024-12-12 23:36:27 +00:00
2024-12-11 11:59:12 +00:00
2024-12-13 00:04:56 +00:00
2024-12-07 18:18:08 +00:00
2024-12-07 21:29:58 +00:00
2024-12-07 21:37:13 +00:00
2024-12-14 03:54:31 +01:00
2024-12-12 23:36:27 +00:00
2024-12-12 23:36:27 +00:00
2024-11-30 11:22:52 +01:00
2024-12-14 13:06:18 +00:00
2024-12-08 17:18:50 +01:00
2024-12-12 23:36:27 +00:00
2024-11-28 14:32:45 -08:00
2024-12-02 18:16:36 +00:00
2024-12-09 21:55:12 +00:00
2024-12-14 06:44:05 +00:00
2024-12-10 11:34:13 +08:00
2024-12-08 20:21:46 +00:00
2024-12-07 21:29:58 +00:00
2024-12-10 18:18:03 +00:00
2024-12-12 23:36:27 +00:00
2024-12-13 00:04:56 +00:00
2024-12-06 12:51:59 -05:00
2024-12-12 23:36:27 +00:00
2024-12-13 00:04:56 +00:00
2024-12-13 15:40:37 +00:00
2024-12-03 07:48:33 +01:00
2024-12-13 15:40:37 +00:00
2024-12-12 23:36:27 +00:00
2024-12-12 23:36:27 +00:00
2024-12-14 22:43:39 +00:00
2024-12-12 23:36:27 +00:00
2024-12-09 21:55:01 +00:00
2024-12-08 15:32:04 +08:00
2024-12-10 19:21:07 +00:00
2024-11-30 16:00:55 +01:00
2024-12-14 06:44:05 +00:00
2024-12-10 09:16:34 +00:00
2024-12-11 22:18:50 +01:00
2024-12-09 21:55:01 +00:00
2024-12-07 22:18:51 +00:00
2024-12-14 06:44:05 +00:00
2024-12-12 23:36:27 +00:00
2024-12-07 21:29:58 +00:00
2024-12-10 08:55:59 +01:00
2024-12-07 21:37:15 +00:00
2024-12-14 03:54:31 +01:00
2024-12-14 14:07:59 +01:00
2024-12-13 15:40:37 +00:00
2024-12-07 21:37:13 +00:00
2024-12-07 21:37:13 +00:00
2024-12-13 00:04:56 +00:00
2024-12-12 16:29:40 +00:00
2024-12-07 20:50:00 +00:00
2024-12-06 16:42:09 -05:00
2024-12-07 21:29:58 +00:00
2024-12-07 21:29:58 +00:00
2024-12-12 23:36:27 +00:00
2024-11-28 14:32:45 -08:00
2024-12-07 21:29:58 +00:00
2024-12-02 03:43:50 -07:00