Files
rust/compiler
bors 1de931283d Auto merge of #139411 - yotamofek:pr/mir_transform/instsimplify, r=compiler-errors
In `simplify_repeated_aggregate`, don't test first element against itself

r? `@saethlin`
Noticed that in `InstSimplifyContext::simplify_repeated_aggregate`, we're accidentally evaluating the first element's value twice, and then comparing it with itself, instead of just checking whether the rest of the elements are equal to the first one.
This will probably save very few cycles, but since `InstSimplify` is always enabled, this might improve perf by a bit.
2025-04-06 01:45:33 +00:00
..
2025-04-02 06:20:35 +11:00
2025-04-03 09:22:21 +00:00
2025-04-03 11:13:10 +02:00
2025-03-15 06:34:36 +00:00