5 Commits

Author SHA1 Message Date
David Green
6a353c7756 [AArch64] Add GPR rr instructions to isAssociativeAndCommutative
This adds some more scalar instructions that are both associative and
commutative to isAssociativeAndCommutative, allowing the machine
combiner to reassociate them to reduce critical path length.

Differential Revision: https://reviews.llvm.org/D134260
2022-11-27 12:53:10 +00:00
Vitaly Buka
8f104b806a Revert "[AArch64] Add GPR rr instructions to isAssociativeAndCommutative"
Breaks msan on aarch64.

This reverts commit 5f7f484ee54ebbf702ee4c5fe9852502dc237121.
2022-11-22 11:03:13 -08:00
David Green
5f7f484ee5 [AArch64] Add GPR rr instructions to isAssociativeAndCommutative
This adds some more scalar instructions that are both associative and
commutative to isAssociativeAndCommutative, allowing the machine
combiner to reassociate them to reduce critical path length.

Differential Revision: https://reviews.llvm.org/D134260
2022-11-16 12:39:13 +00:00
David Green
6ff873ac86 [AArch64] Add some extra GlobalISel CCMP tests coverage. NFC 2022-08-04 20:52:26 +01:00
Karl Meakin
43a0016f3d Extend performANDCSELCombine to performANDORCSELCombine
Differential Revision: https://reviews.llvm.org/D120422
2022-03-04 15:09:59 +00:00