================ @@ -1781,7 +1781,12 @@ void SVEEmitter::createStreamingAttrs(raw_ostream &OS, ACLEKind Kind) { uint64_t VerifyRuntimeMode = getEnumValueForFlag("VerifyRuntimeMode"); uint64_t IsStreamingCompatibleFlag = getEnumValueForFlag("IsStreamingCompatible"); + for (auto &Def : Defs) { + assert((((Def->getGuard().contains("sve") + + Def->getGuard().contains("sme")) <= 1) || + Def->isFlagSet(VerifyRuntimeMode)) && ---------------- paulwalker-arm wrote:
Given this is a build time error that represents a bug in `arm_sve.td`, do you think it's worth using `llvm_unreachable` rather than an assert? https://github.com/llvm/llvm-project/pull/95787 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits