Skip to content

Conversation

@jaidTw
Copy link
Contributor

@jaidTw jaidTw commented Nov 8, 2024

This patch removes forced-sw-shadow-stack related statements in RISCVFeatures.td, which was missed in the last patch #115355

@llvmbot
Copy link
Member

llvmbot commented Nov 8, 2024

@llvm/pr-subscribers-backend-risc-v

Author: Jesse Huang (jaidTw)

Changes

This patch removes forced-sw-shadow-stack related statements in RISCVFeatures.td, which was missed in the last patch #115355


Full diff: https://github.com/llvm/llvm-project/pull/115447.diff

1 Files Affected:

  • (modified) llvm/lib/Target/RISCV/RISCVFeatures.td (-5)
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()">;

@jaidTw jaidTw merged commit e3b0ef7 into llvm:main Nov 8, 2024
8 of 10 checks passed
@jaidTw jaidTw deleted the remove-force-sw-shadow-stack branch November 8, 2024 12:28
Groverkss pushed a commit to iree-org/llvm-project that referenced this pull request Nov 15, 2024
This patch removes forced-sw-shadow-stack related statements in
RISCVFeatures.td, which was missed in the last patch
llvm#115355
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants