@@ -1445,7 +1445,7 @@ TEST(TargetParserTest, AArch64ExtensionFeatures) {
14451445 AArch64::AEK_SSVE_BITPERM, AArch64::AEK_SVESHA3,
14461446 AArch64::AEK_SVESM4, AArch64::AEK_CMH,
14471447 AArch64::AEK_LSCP, AArch64::AEK_TLBID,
1448- AArch64::AEK_MPAMV2,
1448+ AArch64::AEK_MPAMV2, AArch64::AEK_MTETC,
14491449 };
14501450
14511451 std::vector<StringRef> Features;
@@ -1561,6 +1561,7 @@ TEST(TargetParserTest, AArch64ExtensionFeatures) {
15611561 EXPECT_TRUE (llvm::is_contained (Features, " +lscp" ));
15621562 EXPECT_TRUE (llvm::is_contained (Features, " +tlbid" ));
15631563 EXPECT_TRUE (llvm::is_contained (Features, " +mpamv2" ));
1564+ EXPECT_TRUE (llvm::is_contained (Features, " +mtetc" ));
15641565
15651566 // Assuming we listed every extension above, this should produce the same
15661567 // result.
@@ -1731,6 +1732,7 @@ TEST(TargetParserTest, AArch64ArchExtFeature) {
17311732 {" lscp" , " nolscp" , " +lscp" , " -lscp" },
17321733 {" tlbid" , " notlbid" , " +tlbid" , " -tlbid" },
17331734 {" mpamv2" , " nompamv2" , " +mpamv2" , " -mpamv2" },
1735+ {" mtetc" , " nomtetc" , " +mtetc" , " -mtetc" },
17341736 };
17351737
17361738 for (unsigned i = 0 ; i < std::size (ArchExt); i++) {
0 commit comments