[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
================
@@ -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:
Also, defining an operator pattern that is not used anywhere is odd. I think you should use a matching pattern in the .td (as mentioned above).
https://github.com/llvm/llvm-project/pull/169317
More information about the cfe-commits
mailing list