================
@@ -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.");
+
----------------
uweigand wrote:

Not sure we need the above asserts.  The default logic would anyway assert that 
the node cannot be resolved.

https://github.com/llvm/llvm-project/pull/169317
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to