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

Alexis Perry-Holby via flang-commits flang-commits at lists.llvm.org
Thu Jun 20 14:25:33 PDT 2024


================
@@ -0,0 +1,9 @@
+; RUN: mlir-translate -import-llvm -split-input-file %s | FileCheck %s
+
+; CHECK-LABEL: llvm.func @tune_cpu()
+; CHECK-SAME: tune_cpu = "pentium4"
----------------
AlexisPerry wrote:

>From what I can see, L1685 of ModuleImport.cpp has tune-cpu listed among the ExplicitAttributes.  Is this sufficient?  Or is further checking needed?  Thank you so much.

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


More information about the flang-commits mailing list