================ @@ -806,6 +806,13 @@ getFeatureDeltaFromDefault(const CIRGenModule &cgm, llvm::StringRef targetCPU, return delta; } +/// The names getCPUAndFeaturesAttributes produces. setNonAliasAttributes +/// clears them before writing a definition's values, so the two have to agree. +static constexpr llvm::StringLiteral targetCPUAttrName = "cir.target-cpu"; ---------------- erichkeane wrote:
Perhaps these belong in CIRDialect.td along with all our attribute names? https://github.com/llvm/llvm-project/pull/214986 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
