[clang] [flang] [mlir] [flang] Add basic -mtune support (PR #95043)
    Alexis Perry-Holby via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Tue Jun 11 08:11:19 PDT 2024
    
    
  
================
@@ -58,6 +58,15 @@ def FramePointerKindAttr : LLVM_Attr<"FramePointerKind", "framePointerKind"> {
   let assemblyFormat = "`<` $framePointerKind `>`";
 }
 
+//===----------------------------------------------------------------------===//
+// TuneCPUAttr
+//===----------------------------------------------------------------------===//
+
+//def TuneCPUAttr : LLVM_Attr<"TuneCPU", "tuneCPU"> {
+  //let parameters = (ins "tuneCPU::tuneCPU":$tuneCPU);
+  //let assemblyFormat = "`<` $tuneCPU `>`";
+//}
----------------
AlexisPerry wrote:
Thank you for catching that!  I will clean it up.
https://github.com/llvm/llvm-project/pull/95043
    
    
More information about the cfe-commits
mailing list