mibintc added a comment.

In D62731#1778597 <https://reviews.llvm.org/D62731#1778597>, @michele.scandale 
wrote:

> >> I've noticed you removed the change for `CompilerInvocation.cpp` about the 
> >> initialization of the codegen option `NoTrappingMath`. Was that an 
> >> accident?


Thanks again Michele.  I'd like to get rid of Opts.NoTrappingMath, but I 
haven't been bold enough yet. NoTrappingMath is not expressive enough because 
it can hold only 2 values, whereas the Exception behavior can be ignore, strict 
or maytrap. So I'd get rid of that Opts field, and the only place where I see 
it actually being used is in llvm/lib/Target/ARM/ARMAsmPrinter.cpp and the 
change in this patch doesn't seem to affect the ARM logic so I think if I got 
rid of it, it would be OK. All the other instances of the string are in llvm 
test cases.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D62731



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

Reply via email to