[PATCH] D143989: [AArch64][NFC] Rename AEK_SMEF64 and AEK_SMEI64 feature flags
Caroline via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 14 01:22:33 PST 2023
CarolineConcatto created this revision.
Herald added a subscriber: kristof.beyls.
Herald added a project: All.
CarolineConcatto requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Update clang feature flag names for:
AEK_SMEF6 to AEK_SMEF64F64
and
AEK_SMEI64 to AEK_SMEI16I64
These feature flags had their name changed in this previous patch
https://reviews.llvm.org/D135974
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D143989
Files:
clang/lib/Basic/Targets/AArch64.cpp
clang/lib/Basic/Targets/AArch64.h
Index: clang/lib/Basic/Targets/AArch64.h
===================================================================
--- clang/lib/Basic/Targets/AArch64.h
+++ clang/lib/Basic/Targets/AArch64.h
@@ -64,8 +64,8 @@
bool HasCCDP = false;
bool HasFRInt3264 = false;
bool HasSME = false;
- bool HasSMEF64 = false;
- bool HasSMEI64 = false;
+ bool HasSMEF64F64 = false;
+ bool HasSMEI16I64 = false;
bool HasSB = false;
bool HasPredRes = false;
bool HasSSBS = false;
Index: clang/lib/Basic/Targets/AArch64.cpp
===================================================================
--- clang/lib/Basic/Targets/AArch64.cpp
+++ clang/lib/Basic/Targets/AArch64.cpp
@@ -663,8 +663,8 @@
.Case("sve2-sha3", FPU & SveMode && HasSVE2SHA3)
.Case("sve2-sm4", FPU & SveMode && HasSVE2SM4)
.Case("sme", HasSME)
- .Case("sme-f64f64", HasSMEF64)
- .Case("sme-i16i64", HasSMEI64)
+ .Case("sme-f64f64", HasSMEF64F64)
+ .Case("sme-i16i64", HasSMEI16I64)
.Cases("memtag", "memtag2", HasMTE)
.Case("sb", HasSB)
.Case("predres", HasPredRes)
@@ -780,12 +780,12 @@
}
if (Feature == "+sme-f64f64") {
HasSME = true;
- HasSMEF64 = true;
+ HasSMEF64F64 = true;
HasBFloat16 = true;
}
if (Feature == "+sme-i16i64") {
HasSME = true;
- HasSMEI64 = true;
+ HasSMEI16I64 = true;
HasBFloat16 = true;
}
if (Feature == "+sb")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143989.497236.patch
Type: text/x-patch
Size: 1432 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230214/dd9b2ea6/attachment.bin>
More information about the cfe-commits
mailing list