[clang] [flang] [mlir] [flang] Add support for -mprefer-vector-width=<value> (PR #141380)
Cameron McInally via cfe-commits
cfe-commits at lists.llvm.org
Thu May 29 10:29:10 PDT 2025
================
@@ -126,6 +127,8 @@ struct MLIRToLLVMPassPipelineConfig : public FlangEPCallBacks {
bool NoSignedZerosFPMath =
false; ///< Set no-signed-zeros-fp-math attribute for functions.
bool UnsafeFPMath = false; ///< Set unsafe-fp-math attribute for functions.
+ std::string PreferVectorWidth = ""; ///< Set prefer-vector-width attribute for
----------------
mcinally wrote:
If there are no objections, I'll leave this. The other std::string's in the function are initialized the same way, so probably best to stay in that style.
https://github.com/llvm/llvm-project/pull/141380
More information about the cfe-commits
mailing list