about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-01-17 11:46:49 +0000
committerbors <bors@rust-lang.org>2024-01-17 11:46:49 +0000
commit52790a98e568f2e4f37b041ce353c660f5fb073d (patch)
tree0b023954e90e9c6255bf5be02d7869a9b77c07fb /compiler/rustc_pattern_analysis/src
parent25b706cde3e8e0c2d63831e12b57bd187e9b66fe (diff)
parent0cc2102c4a615fa8f259de491675d9e64606b022 (diff)
downloadrust-52790a98e568f2e4f37b041ce353c660f5fb073d.tar.gz
rust-52790a98e568f2e4f37b041ce353c660f5fb073d.zip
Auto merge of #119670 - cjgillot:gvn-arithmetic, r=oli-obk
Fold arithmetic identities in GVN

Extracted from https://github.com/rust-lang/rust/pull/111344

This PR implements a few arithmetic folds for unary and binary operations.
This should take care of the missed optimizations introduced by https://github.com/rust-lang/rust/pull/116012.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions