[clang] [flang] [mlir] [flang] Add support for -mprefer-vector-width=<value> (PR #141380)
Tarun Prabhu via cfe-commits
cfe-commits at lists.llvm.org
Thu May 29 10:37:33 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
----------------
tarunprabhu wrote:
I think it is better to stay in the style of the other initializations.
https://github.com/llvm/llvm-project/pull/141380
More information about the cfe-commits
mailing list