[llvm] SystemZ: Remove override of insertSSPDeclarations (PR #163708)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 15 23:43:31 PDT 2025


https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/163708

The runtime library does not add a SYSTEM_CHECK_GUARD
implementation so the default will be a no-op anyway.

>From 33612c4072609496851915a1d0692bcac7b1c2ca Mon Sep 17 00:00:00 2001
From: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: Thu, 16 Oct 2025 15:41:42 +0900
Subject: [PATCH] SystemZ: Remove override of insertSSPDeclarations

The runtime library does not add a SYSTEM_CHECK_GUARD
implementation so the default will be a no-op anyway.
---
 llvm/lib/Target/SystemZ/SystemZISelLowering.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/llvm/lib/Target/SystemZ/SystemZISelLowering.h b/llvm/lib/Target/SystemZ/SystemZISelLowering.h
index d5b76031766dd..396e78e2845be 100644
--- a/llvm/lib/Target/SystemZ/SystemZISelLowering.h
+++ b/llvm/lib/Target/SystemZ/SystemZISelLowering.h
@@ -606,8 +606,6 @@ class SystemZTargetLowering : public TargetLowering {
 
   /// Override to support customized stack guard loading.
   bool useLoadStackGuardNode(const Module &M) const override { return true; }
-  void insertSSPDeclarations(Module &M) const override {
-  }
 
   MachineBasicBlock *
   EmitInstrWithCustomInserter(MachineInstr &MI,



More information about the llvm-commits mailing list