bors 7e4077d06f Auto merge of #135274 - saethlin:array-repeats, r=compiler-errors
Add an InstSimplify for repetitive array expressions

I noticed in https://github.com/rust-lang/rust/pull/135068#issuecomment-2569955426 that GVN's implementation of this same transform was quite profitable on the deep-vector benchmark. But of course GVN doesn't run in unoptimized builds, so this is my attempt to write a version of this transform that benefits the deep-vector case and is fast enough to run in InstSimplify.

The benchmark suite indicates that this is effective.
2025-01-11 06:33:55 +00:00
..
2024-11-19 18:06:20 +01:00
2025-01-03 13:30:26 +01:00
2024-12-22 06:12:39 -08:00
2024-12-22 06:12:39 -08:00
2024-11-26 12:05:57 +11:00
2024-11-26 10:45:21 +00:00
2024-11-26 10:45:21 +00:00
2024-11-23 13:52:57 +01:00
2024-12-22 06:12:39 -08:00
2024-11-26 12:05:57 +11:00
2024-11-26 10:45:21 +00:00
2024-11-26 10:45:21 +00:00
2025-01-10 18:37:55 +00:00
2024-11-19 18:06:20 +01:00
2024-11-26 10:45:21 +00:00
2025-01-10 18:37:56 +00:00