[flang] [clang] [flang] add fveclib flag (PR #71734)

Kiran Chandramohan via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 9 03:39:22 PST 2023


================
@@ -81,6 +81,17 @@ class CodeGenOptions : public CodeGenOptionsBase {
     RK_WithPattern, // Remark pattern specified via '-Rgroup=regexp'.
   };
 
+  enum class VectorLibrary {
+    NoLibrary,  // Don't use any vector library.
+    Accelerate, // Use the Accelerate framework.
+    LIBMVEC,    // GLIBC vector math library.
+    MASSV,      // IBM MASS vector library.
+    SVML,       // Intel short vector math library.
+    SLEEF,      // SLEEF SIMD Library for Evaluating Elementary Functions.
+    Darwin_libsystem_m, // Use Darwin's libsystem_m vector functions.
+    ArmPL               // Arm Performance Libraries.
+  };
----------------
kiranchandramohan wrote:

Can this class be moved to a file in a new directory `llvm/include/llvm/Frontend/Driver` and shared with Clang?

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


More information about the cfe-commits mailing list