[clang] [lld] [llvm] [AArch64] Fix stale +zcm target feature to +zcm-gpr64 (PR #146260)

David Green via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 29 02:58:59 PDT 2025


================
@@ -170,7 +170,7 @@ getAArch64MicroArchFeaturesFromMtune(const Driver &D, StringRef Mtune,
   // 'cyclone' and later have zero-cycle register moves and zeroing.
   if (MtuneLowerCase == "cyclone" ||
       StringRef(MtuneLowerCase).starts_with("apple")) {
-    Features.push_back("+zcm");
+    Features.push_back("+zcm-gpr64");
----------------
davemgreen wrote:

I don't think this code should be here, as it should be automatic from the cpu tuning features. Can it be removed?

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


More information about the llvm-commits mailing list