Skip to content

Commit 32f3e8f

Browse files
committed
[CHERIoT] Make XCheriot imply the other features it depends on.
1 parent 04ac4c8 commit 32f3e8f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/lib/Target/RISCV/RISCVFeatures.td

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1384,7 +1384,9 @@ def NotPureCapABI
13841384
: Predicate<"!RISCVABI::isCheriPureCapABI(Subtarget->getTargetABI())">;
13851385

13861386
def FeatureVendorXCheriot
1387-
: RISCVExtension<1, 0, "Implements XCheriot extension">;
1387+
: RISCVExtension<1, 0, "Implements XCheriot extension",
1388+
[FeatureVendorXCheri, FeatureVendorXCheriPureCap,
1389+
FeatureStdExtC, FeatureStdExtE, FeatureStdExtM]>;
13881390

13891391
def HasCheriot
13901392
: Predicate<"Subtarget->hasVendorXCheriot()">,

0 commit comments

Comments
 (0)