Skip to content

Commit 6e0fc15

Browse files
committed
[RISCV] Remove feature implication from Zvknhb.
We don't have feature implications on any other Zvk extensions and we have error messages in RISCVISAInfo if Zve or V is not enabled. I'm working on testing and refactoring in that code so I'd like to make it consistent.
1 parent 4cf9a42 commit 6e0fc15

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Target/RISCV/RISCVFeatures.td

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -780,8 +780,7 @@ def HasStdExtZvknha : Predicate<"Subtarget->hasStdExtZvknha()">,
780780

781781
def FeatureStdExtZvknhb
782782
: RISCVExtension<"zvknhb", 1, 0,
783-
"'Zvknhb' (Vector SHA-2 (SHA-256 and SHA-512))",
784-
[FeatureStdExtZve64x]>,
783+
"'Zvknhb' (Vector SHA-2 (SHA-256 and SHA-512))">,
785784
RISCVExtensionBitmask<0, 56>;
786785
def HasStdExtZvknhb : Predicate<"Subtarget->hasStdExtZvknhb()">,
787786
AssemblerPredicate<(all_of FeatureStdExtZvknhb),

0 commit comments

Comments
 (0)