3 Commits

Author SHA1 Message Date
Filipp Zhinkin
945a1468c9 [ARM] Support all versions of AND, ORR, EOR and BIC in optimizeCompareInstr
Combine cmp with zero and all versions of AND, ORR, EOR and BIC instructions into S-suffixed versions.

Related issue: https://github.com/llvm/llvm-project/issues/57122

Reviewed By: efriedma, samtebbs

Differential Revision: https://reviews.llvm.org/D131786
2022-10-01 12:41:37 +03:00
Filipp Zhinkin
fa67e281b2 [ARM] Add more tests on instructions fusion with comparison with zero; NFC
Baseline tests for D131786
2022-09-17 11:49:58 +03:00
Filipp Zhinkin
c4d0509e3b [ARM] Add tests on instructions fusion with comparison with zero; NFC
Baseline tests for D131786
2022-09-08 20:24:32 +03:00