Negating a binary operator with floating point operands by negating the operator won't handle NaN comparisons correctly.
To address this an option has been added SafeFloatComparisons, defaults to being on, that will prevent this transformation.
Details
Details
- Reviewers
aaron.ballman LegalizeAdulthood
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Please enclose SafeFloatComparisons into single back-ticks.