[clang] [llvm] [AArch64] Merge duplicate extension information. (PR #92319)

Tomas Matheson via llvm-commits llvm-commits at lists.llvm.org
Fri May 17 13:37:55 PDT 2024


================
@@ -94,19 +94,21 @@ static void EmitARMTargetDef(RecordKeeper &RK, raw_ostream &OS) {
     else
       OS << ", \"" << Alias << "\"";
     OS << ", AArch64::" << AEK;
-    if (AEK == "AEK_NONE") {
+    auto Name = Rec->getValueAsString("Name");
+    if (Name.empty()) {
----------------
tmatheson-arm wrote:

Shouldn't we be checking `IsFMVOnly` here?

https://github.com/llvm/llvm-project/pull/92319


More information about the llvm-commits mailing list