Nikita Popov
055bfc0271
[InstCombine] Strip leading zero indices from GEP ( #155415 )
...
GEPs are often in the form `gep [N x %T], ptr %p, i64 0, i64 %idx`.
Canonicalize these to `gep %T, ptr %p, i64 %idx`.
This enables transforms that only support one GEP index to work and
improves CSE.
Various transforms were recently hardened to make sure they still work
without the leading index.
2025-09-01 09:58:11 +02:00
..
2025-09-01 09:58:11 +02:00
2025-05-29 17:20:56 -04:00
2025-08-29 12:45:38 +08:00
2024-12-09 16:44:05 +01:00
2025-09-01 09:58:11 +02:00
2025-07-02 19:51:01 -07:00
2025-08-08 11:09:34 +02:00
2024-12-05 14:36:40 +01:00
2025-02-27 09:38:29 +01:00
2024-12-31 15:25:12 +00:00
2025-07-31 15:56:31 -04:00
2024-12-31 15:25:12 +00:00
2025-02-27 09:38:29 +01:00
2025-08-19 10:59:38 +02:00
2025-08-08 11:09:34 +02:00
2025-01-29 16:56:47 +01:00
2025-02-27 09:38:29 +01:00
2024-12-31 15:25:12 +00:00
2025-08-08 11:09:34 +02:00
2025-08-08 11:09:34 +02:00
2025-08-08 11:09:34 +02:00
2025-02-22 15:30:04 +08:00
2025-08-08 11:09:34 +02:00
2025-08-08 11:09:34 +02:00
2025-07-31 16:53:55 +01:00
2025-01-29 16:56:47 +01:00
2024-12-05 14:36:40 +01:00
2025-01-29 16:56:47 +01:00
2025-02-23 17:19:31 +08:00
2025-06-27 17:04:04 +02:00
2024-12-31 15:25:12 +00:00
2024-12-05 14:36:40 +01:00
2024-12-31 15:25:12 +00:00
2024-12-31 15:25:12 +00:00
2025-01-29 16:56:47 +01:00
2025-01-29 16:56:47 +01:00
2024-12-31 15:25:12 +00:00
2025-09-01 09:58:11 +02:00
2024-12-05 14:36:40 +01:00
2024-12-31 15:25:12 +00:00
2025-09-01 09:58:11 +02:00
2025-01-29 16:56:47 +01:00
2024-12-31 15:25:12 +00:00
2025-08-08 11:09:34 +02:00
2025-01-27 16:05:29 +00:00
2025-01-27 16:05:29 +00:00