================
@@ -3629,6 +3675,9 @@ static SDValue emitCmp(SelectionDAG &DAG, const SDLoc
&DL, Comparison &C) {
if (C.Opcode == SystemZISD::ICMP)
return DAG.getNode(SystemZISD::ICMP, DL, MVT::i32, C.Op0, C.Op1,
DAG.getTargetConstant(C.ICmpType, DL, MVT::i32));
+ if (C.Opcode == SystemZISD::COMPARE_SG_DAG)
+ return DAG.getNode(SystemZISD::COMPARE_SG_DAG, DL, MVT::i32, C.Op0,
+ DAG.getTargetConstant(C.ICmpType, DL, MVT::i32));
----------------
uweigand wrote:
I don't think we need an `ICmpType` parameter here.
https://github.com/llvm/llvm-project/pull/169317
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits