[PATCH] D121355: [SelectionDAG] Fold shift constants into cmp
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 15 22:01:56 PDT 2022
craig.topper added a comment.
ARMTargetLowering::getARMCmp and AArch64TargetLowering::getAArch64Cmp both have code that tries to adjust the condition code to get the immediate to fit. So it looks like the primary problem is that introduction of the ISD::SRL that blocks the target from seeing a constant they can fix it.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121355/new/
https://reviews.llvm.org/D121355
More information about the llvm-commits
mailing list