[llvm] [PowerPC] Lower UCMP and SCMP directly to setb instead of matching the DAG shape (PR #206282)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 5 11:12:36 PDT 2026
================
@@ -4693,14 +4691,15 @@ void PPCDAGToDAGISel::transferMemOperands(SDNode *N, SDNode *Result) {
MachineMemOperand *MemOp = cast<MemSDNode>(N)->getMemOperand();
CurDAG->setNodeMemRefs(cast<MachineSDNode>(Result), {MemOp});
}
-
-static bool mayUseP9Setb(SDNode *N, const ISD::CondCode &CC, SelectionDAG *DAG,
- bool &NeedSwapOps, bool &IsUnCmp) {
-
+static bool mayUseP9SetbForFloat(SDNode *N, const ISD::CondCode &CC,
----------------
AZero13 wrote:
Fixed it!
https://github.com/llvm/llvm-project/pull/206282
More information about the llvm-commits
mailing list