[clang] [clang] Make -fveclib={ArmPL, SLEEF} imply -fno-math-errno (PR #112580)
Kiran Chandramohan via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 16 11:19:52 PDT 2024
================
@@ -3125,6 +3129,10 @@ static void RenderFloatingPointOptions(const ToolChain &TC, const Driver &D,
TrappingMathPresent = true;
FPExceptionBehavior = "strict";
break;
+ case options::OPT_fveclib:
+ if (llvm::is_contained(VecLibImpliesNoMathErrno, A->getValue()))
+ MathErrno = false;
+ break;
----------------
kiranchandramohan wrote:
Should we check specifically for the Arm platform?
https://github.com/llvm/llvm-project/pull/112580
More information about the cfe-commits
mailing list