https://github.com/davemgreen approved this pull request. LGTM for the AArch64 parts, if you remove the changes from llvm/tools/llvm-exegesis/lib/Target.cpp. They look like they would be good as a separate commit. https://github.com/llvm/llvm-project/pull/132346