[llvm] [RISCV] Remove forced-sw-shadow-stack in RISCVFeatures.td (PR #115447)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 8 01:26:53 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-risc-v
Author: Jesse Huang (jaidTw)
<details>
<summary>Changes</summary>
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
---
Full diff: https://github.com/llvm/llvm-project/pull/115447.diff
1 Files Affected:
- (modified) llvm/lib/Target/RISCV/RISCVFeatures.td (-5)
``````````diff
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()">;
``````````
</details>
https://github.com/llvm/llvm-project/pull/115447
More information about the llvm-commits
mailing list