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-07-15 18:08:52 +01:00
2025-09-01 09:58:11 +02:00
2025-08-04 16:18:05 +02:00
2025-08-08 11:09:34 +02:00
2025-08-18 09:46:55 +00:00
2025-08-18 09:46:55 +00:00
2025-08-18 09:46:55 +00:00
2025-08-08 11:09:34 +02:00
2025-04-13 13:16:15 +02:00
2025-05-12 14:37:26 -07:00
2025-08-08 11:09:34 +02:00
2025-07-31 09:44:14 -04:00
2025-07-31 09:44:14 -04:00
2025-08-18 09:46:55 +00:00
2025-08-08 11:09:34 +02:00
2025-08-08 11:09:34 +02:00
2025-07-18 14:40:54 -07:00
2025-08-26 07:07:59 -07:00
2025-08-26 07:07:59 -07:00
2025-04-17 08:22:19 -07:00
2025-04-17 08:22:19 -07:00
2025-08-08 11:09:34 +02:00
2025-06-25 13:10:43 -07:00
2025-08-04 16:18:05 +02:00
2025-08-08 11:09:34 +02:00
2025-05-22 17:01:37 +02:00
2025-08-31 10:14:28 +02:00
2025-08-04 16:18:05 +02:00
2025-06-28 21:00:34 +02:00
2025-07-18 08:33:42 +02:00
2025-07-18 08:33:42 +02:00
2025-07-02 18:16:12 +02:00
2025-08-08 11:09:34 +02:00
2025-08-29 16:09:03 -04:00
2025-08-18 09:46:55 +00:00
2025-06-04 12:37:30 +08:00