[clang-tools-extra] [Clang] Support target attr specifying CPU (PR #68678)

Qiu Chaofan via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 16 20:10:08 PDT 2023


================
@@ -2420,11 +2420,11 @@ command line.
 
 The current set of options correspond to the existing "subtarget features" for
 the target with or without a "-mno-" in front corresponding to the absence
-of the feature, as well as ``arch="CPU"`` which will change the default "CPU"
-for the function.
+of the feature, as well as ``arch="CPU"`` and ``cpu="CPU"`` which will change
+the default "CPU" for the function.
----------------
ecnelises wrote:

Thanks for explanation. Then x86 should be the special one, not aarch64.

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


More information about the cfe-commits mailing list