[llvm] [ARM] Have custom lowering for ucmp and scmp (PR #149315)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 3 13:12:29 PDT 2025
================
@@ -1628,6 +1634,10 @@ bool ARMTargetLowering::useSoftFloat() const {
return Subtarget->useSoftFloat();
}
+bool ARMTargetLowering::shouldExpandCmpUsingSelects(EVT VT) const {
----------------
AZero13 wrote:
Actually mve generates better code than the custom lowering, hence why it is enabled there, but when it is not, then yes the cost modeling this best matches what we are doing for that.
https://github.com/llvm/llvm-project/pull/149315
More information about the llvm-commits
mailing list