Skip to content

[RISCV] Remove forced-sw-shadow-stack in RISCVFeatures.td #115447

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 8, 2024

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