diff options
author | Jan Svoboda <jan_svoboda@apple.com> | 2020-11-09 15:51:42 -0500 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2020-11-09 18:00:10 -0500 |
commit | dbfa69c5024cfe58b8029a3766ec46c857cddb1e (patch) | |
tree | 009d1cdffd1d5ca3b728ba3ba591bfe736ea008a /lldb/source/Commands/CommandObjectExpression.cpp | |
parent | 09c6259d6d0eb51b282f6c3a28052a8146bc095b (diff) | |
download | llvm-dbfa69c5024cfe58b8029a3766ec46c857cddb1e.zip llvm-dbfa69c5024cfe58b8029a3766ec46c857cddb1e.tar.gz llvm-dbfa69c5024cfe58b8029a3766ec46c857cddb1e.tar.bz2 |
Port some floating point options to new option marshalling infrastructure
This ports a number of OpenCL and fast-math flags for floating point
over to the new marshalling infrastructure.
As part of this, `Opt{In,Out}FFlag` were enhanced to allow other flags to
imply them, via `DefaultAnyOf<>`. For example:
```
defm signed_zeros : OptOutFFlag<"signed-zeros", ...,
"LangOpts->NoSignedZero",
DefaultAnyOf<[cl_no_signed_zeros, menable_unsafe_fp_math]>>;
```
defines `-fsigned-zeros` (`false`) and `-fno-signed-zeros` (`true`)
linked to the keypath `LangOpts->NoSignedZero`, defaulting to `false`,
but set to `true` implicitly if one of `-cl-no-signed-zeros` or
`-menable-unsafe-fp-math` is on.
Note that the initial patch was written Daniel Grumberg.
Differential Revision: https://reviews.llvm.org/D82756
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
0 files changed, 0 insertions, 0 deletions