[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:50 PDT 2026
================
@@ -27763,6 +27714,65 @@ static SDValue trySwapVSelectOperands(SDNode *N, SelectionDAG &DAG) {
{InverseSetCC, SelectB, SelectA});
}
+static SDValue performVselectPowCombine(SDNode *N,
+ TargetLowering::DAGCombinerInfo &DCI) {
+ SDValue Cond = N->getOperand(0);
----------------
paulwalker-arm wrote:
Worth an assert to verify N is a select?
https://github.com/llvm/llvm-project/pull/192958
More information about the llvm-commits
mailing list