Skip to content

Commit 0fcced7

Browse files
authored
[RISCV][NFC] Zce always implies/requires Zca (#145442)
1 parent f6ab1f0 commit 0fcced7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Target/RISCV/RISCVFeatures.td

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,8 @@ def HasStdExtZcmt : Predicate<"Subtarget->hasStdExtZcmt()">,
455455
def FeatureStdExtZce
456456
: RISCVExtension<1, 0,
457457
"Compressed extensions for microcontrollers",
458-
[FeatureStdExtZcb, FeatureStdExtZcmp, FeatureStdExtZcmt]>;
458+
[FeatureStdExtZca, FeatureStdExtZcb, FeatureStdExtZcmp,
459+
FeatureStdExtZcmt]>;
459460

460461
def HasStdExtCOrZcfOrZce
461462
: Predicate<"Subtarget->hasStdExtC() || Subtarget->hasStdExtZcf() ||"

0 commit comments

Comments
 (0)