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

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


================
@@ -303,6 +307,10 @@ def z_pcrel_offset      : SDNode<"SystemZISD::PCREL_OFFSET",
 // to compare, and an integer of type SystemZICMP.
 def z_icmp              : SDNode<"SystemZISD::ICMP", SDT_ZICmp>;
 
+// A special form of icmp dedicated to comparing a stack protector value
+// to a stack slot. Kept separate to enable custom lowering.
+def z_csg              : SDNode<"SystemZISD::COMPARE_SG_DAG", SDT_ZCSG>;
----------------
uweigand wrote:

This definitely does not need to use _DAG - that's already implied by the SystemZISD name space.

https://github.com/llvm/llvm-project/pull/169317


More information about the llvm-commits mailing list