From 6e0fc155782ff5307245a85c7b037a2998ec6c86 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Fri, 16 Aug 2024 17:16:07 -0700 Subject: [PATCH] [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. --- llvm/lib/Target/RISCV/RISCVFeatures.td | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/llvm/lib/Target/RISCV/RISCVFeatures.td b/llvm/lib/Target/RISCV/RISCVFeatures.td index e278fa3fe31764..f2610ea7c9768e 100644 --- a/llvm/lib/Target/RISCV/RISCVFeatures.td +++ b/llvm/lib/Target/RISCV/RISCVFeatures.td @@ -780,8 +780,7 @@ def HasStdExtZvknha : Predicate<"Subtarget->hasStdExtZvknha()">, def FeatureStdExtZvknhb : RISCVExtension<"zvknhb", 1, 0, - "'Zvknhb' (Vector SHA-2 (SHA-256 and SHA-512))", - [FeatureStdExtZve64x]>, + "'Zvknhb' (Vector SHA-2 (SHA-256 and SHA-512))">, RISCVExtensionBitmask<0, 56>; def HasStdExtZvknhb : Predicate<"Subtarget->hasStdExtZvknhb()">, AssemblerPredicate<(all_of FeatureStdExtZvknhb),