rjmccall added inline comments.
================
Comment at: clang/lib/Frontend/CompilerInvocation.cpp:3192
+  Opts.NoHonorNaNs =
+      Opts.FastMath || CGOpts.NoNaNsFPMath || Opts.FiniteMathOnly;
+  Opts.NoHonorInfs =
----------------
mibintc wrote:
> @rjmccall I could set these by using Args.hasArg instead of CGOpts, would 
> that be acceptabel? 
I think so, yes.  Ideally the CG options would then be set based on the earlier 
values, or replaced with uses of the language options structure, but not having 
a direct dependency at all may be simpler.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72841/new/

https://reviews.llvm.org/D72841



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to