[PATCH] D98704: [AArch64] Don't perform SetccAddFolding with 2 SET_CC operands
Sjoerd Meijer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 17 02:15:54 PDT 2021
SjoerdMeijer added a comment.
Thanks for the suggestion Dave. Just did the pen and paper exercise and agree that:
cmp w8, #3
cset w8, hi
cmp w9, #33
csinc w0, w8, w8, <=
is even better. :-) Also agreed that a match pattern would be nice, so looking into that now.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98704/new/
https://reviews.llvm.org/D98704
More information about the llvm-commits
mailing list