[clang] [clang] Make -fveclib={ArmPL, SLEEF} imply -fno-math-errno (PR #112580)
Benjamin Maxwell via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 18 08:57:10 PDT 2024
================
@@ -502,6 +502,10 @@ def err_sls_hardening_arm_not_supported : Error<
def warn_drv_large_data_threshold_invalid_code_model: Warning<
"'%0' only applies to medium and large code models">,
InGroup<UnusedCommandLineArgument>;
+def warn_drv_math_errno_reenabled_after_veclib: Warning<
+ "math errno re-enabled by '%0' after it was implicitly disabled by '%1',"
+ " this may prevent vectorization with the specified vector library">,
+ InGroup<MathErrnoEnabledWithVecLib>;
----------------
MacDue wrote:
Done :+1:
https://github.com/llvm/llvm-project/pull/112580
More information about the cfe-commits
mailing list