[clang] [llvm] [SystemZ] Global Stackprotector and associated location section (PR #169317)

Ulrich Weigand via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 4 08:24:21 PST 2026


================
@@ -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


More information about the cfe-commits mailing list