We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f48e2bb commit be6893aCopy full SHA for be6893a
clang/lib/CodeGen/CodeGenFunction.cpp
@@ -161,8 +161,7 @@ void CodeGenFunction::CGFPOptionsRAII::ConstructorHelper(FPOptions FPFeatures) {
161
llvm::RoundingMode NewRoundingBehavior = FPFeatures.getRoundingMode();
162
CGF.Builder.setDefaultConstrainedRounding(NewRoundingBehavior);
163
auto NewExceptionBehavior =
164
- ToConstrainedExceptMD(static_cast<LangOptions::FPExceptionModeKind>(
165
- FPFeatures.getExceptionMode()));
+ ToConstrainedExceptMD(FPFeatures.getExceptionMode());
166
CGF.Builder.setDefaultConstrainedExcept(NewExceptionBehavior);
167
168
CGF.SetFastMathFlags(FPFeatures);
0 commit comments