================ @@ -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()) { ---------------- labrinea wrote:
No, for example all the features I have fused (FEAT_DPB, FEAT_DPB2, FEAT_FLAGM2, FEAT_FRINTTS, FEAT_RCPC2) as well as BTI, are FMVOnly and still have a valid +/- TargetFeatureName. https://github.com/llvm/llvm-project/pull/92319 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits