diff --git a/llvm/lib/Target/RISCV/RISCVFeatures.td b/llvm/lib/Target/RISCV/RISCVFeatures.td index 2d6d455a2248e..ad733e1488b5c 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()">;