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

Dominik Steenken via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 9 05:51:17 PST 2026


================
@@ -743,13 +746,37 @@ void SystemZAsmPrinter::emitInstruction(const MachineInstr *MI) {
   case SystemZ::EH_SjLj_Setup:
     return;
 
+  case SystemZ::LOAD_STACK_GUARD:
+    llvm_unreachable(
+        "LOAD_STACK_GUARD should have been eliminated by the DAG Combiner.");
+
+  case SystemZ::MOVE_SG:
+  case SystemZ::COMPARE_SG:
+    llvm_unreachable("MOVE_SG and COMPARE_SG should have "
+                     "been expanded by ExpandPostRAPseudo.");
+
----------------
dominik-steenken wrote:

removed.

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


More information about the llvm-commits mailing list