[llvm] [RISCV] Remove forced-sw-shadow-stack in RISCVFeatures.td (PR #115447)

Jesse Huang via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 8 01:26:20 PST 2024


https://github.com/jaidTw created https://github.com/llvm/llvm-project/pull/115447

This patch removes forced-sw-shadow-stack related statements in RISCVFeatures.td, which was missed in the last patch https://github.com/llvm/llvm-project/pull/115355

>From 2af61ec2f1f060ee790f71a0c0ed1e490e67dc4a Mon Sep 17 00:00:00 2001
From: Jesse Huang <jesse.huang at sifive.com>
Date: Fri, 8 Nov 2024 17:02:07 +0800
Subject: [PATCH] [RISCV] Remove forced-sw-shadow-stack in RISCVFeatures.td

---
 llvm/lib/Target/RISCV/RISCVFeatures.td | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/llvm/lib/Target/RISCV/RISCVFeatures.td b/llvm/lib/Target/RISCV/RISCVFeatures.td
index 2d6d455a2248ea..ad733e1488b5ca 100644
--- a/llvm/lib/Target/RISCV/RISCVFeatures.td
+++ b/llvm/lib/Target/RISCV/RISCVFeatures.td
@@ -1461,8 +1461,3 @@ def FeatureTaggedGlobals : SubtargetFeature<"tagged-globals",
     "AllowTaggedGlobals",
     "true", "Use an instruction sequence for taking the address of a global "
     "that allows a memory tag in the upper address bits">;
-
-def FeatureForcedSWShadowStack : SubtargetFeature<
-    "forced-sw-shadow-stack", "HasForcedSWShadowStack", "true",
-    "Implement shadow stack with software.">;
-def HasForcedSWShadowStack : Predicate<"Subtarget->hasForcedSWShadowStack()">;



More information about the llvm-commits mailing list