Skip to content

Commit 0f1847c

Browse files
committed
[RISCV] Use RISCVSubtarget::hasStdExtCOrZcd() in HasStdExtCOrZcd tablgen Predicate. NFC
1 parent 08fe7df commit 0f1847c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/RISCV/RISCVFeatures.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ def FeatureStdExtZcd
350350
[FeatureStdExtZca]>;
351351

352352
def HasStdExtCOrZcd
353-
: Predicate<"Subtarget->hasStdExtC() || Subtarget->hasStdExtZcd()">,
353+
: Predicate<"Subtarget->hasStdExtCOrZcd()">,
354354
AssemblerPredicate<(any_of FeatureStdExtC, FeatureStdExtZcd),
355355
"'C' (Compressed Instructions) or "
356356
"'Zcd' (Compressed Double-Precision Floating-Point Instructions)">;

0 commit comments

Comments
 (0)