[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:20 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.");
+
----------------
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
More information about the cfe-commits
mailing list