Files
clang-p2996/llvm/test/CodeGen/PowerPC
Anton Sidorenko f8ed709345 [MachineCombiner] Extend reassociation logic to handle inverse instructions
Machine combiner supports generic reassociation only of associative and
commutative instructions, for example (A + X) + Y => (X + Y) + A. However, we
can extend this generic support to handle patterns like
(X + A) - Y => (X - Y) + A), where `-` is the inverse of `+`.
This patch adds interface functions to process reassociation patterns of
associative/commutative instructions and their inverse variants with minimal
changes in backends.

Differential Revision: https://reviews.llvm.org/D136754
2022-12-07 13:50:28 +03:00
..
2022-10-11 17:24:06 +00:00
2022-10-11 17:24:06 +00:00
2022-11-04 10:18:04 -07:00
2022-10-11 17:24:06 +00:00
2022-11-04 10:18:04 -07:00
2022-11-29 15:47:32 -06:00
2022-10-11 17:24:06 +00:00
2022-11-29 15:47:32 -06:00
2022-11-04 10:18:04 -07:00
2022-10-11 17:24:06 +00:00