Files
rust/compiler
bors e2a7ba2771 Auto merge of #113858 - cjgillot:const-prop-pairs, r=oli-obk
Always const-prop scalars and scalar pairs

This removes some complexity from the pass.

The limitation to propagate ScalarPairs only for tuple comes from https://github.com/rust-lang/rust/pull/67015, when ScalarPair constant were modeled using `Rvalue::Aggregate`. Nowadays, we use `ConstValue::ByRef`, which does not care about the underlying type.

The justification for not propagating in all cases was perf. This seems not to be a clear cut any more: https://github.com/rust-lang/rust/pull/113858#issuecomment-1642396746
2023-07-20 22:22:31 +00:00
..
2023-03-11 10:53:47 -06:00
2023-07-12 21:38:55 -04:00
2023-05-02 10:45:16 -07:00
2023-07-03 07:20:51 +00:00
2023-07-19 09:44:40 +00:00
2023-07-02 21:02:31 +02:00
2023-07-19 16:37:09 +00:00
2023-07-03 13:51:54 -07:00