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

Christian Ulmann via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 10 22:42:16 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 `>`";
+//}
----------------
Dinistro wrote:

Dead code?

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


More information about the cfe-commits mailing list