[clang] [flang] [mlir] [flang] Add basic -mtune support (PR #95043)

Andrzej WarzyƄski via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 11 08:21:02 PDT 2024


================
@@ -32,6 +32,9 @@ class TargetOptions {
   /// If given, the name of the target CPU to generate code for.
   std::string cpu;
 
+  /// If given, the name of the target CPU to tune code for.
+  std::string tuneCPU;
----------------
banach-space wrote:

I'm fine with longer self-documenting names, e.g. `cpuToTuneFor`. That would be more consistent with `cpu` above :) 

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


More information about the cfe-commits mailing list