[llvm] [AArch64] Sanitise pow inputs using a target DAG combine (PR #192958)
Paul Walker via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 22 08:36:49 PDT 2026
================
@@ -27850,6 +27860,10 @@ static SDValue performVSelectCombine(SDNode *N,
}
}
+ if ((IfTrue.getOpcode() == ISD::FPOW || IfFalse.getOpcode() == ISD::FPOW))
----------------
paulwalker-arm wrote:
Given all the other `*ValIsPow` checks in `performVselectPowCombine` I think it'll be cleaner to have this check inside as well.
https://github.com/llvm/llvm-project/pull/192958
More information about the llvm-commits
mailing list