diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2022-10-10 14:56:01 +0200 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2022-10-11 15:52:24 +0200 |
commit | 4cbc312a31424ca4ff7cdd358fc47b9c9511a646 (patch) | |
tree | 016da7d1463e4d7c36f8be01d843e4bd5121d3a5 /gcc/value-range.h | |
parent | ad7cff63de618ed723e5df68f0cc9e950d5769e3 (diff) | |
download | gcc-4cbc312a31424ca4ff7cdd358fc47b9c9511a646.zip gcc-4cbc312a31424ca4ff7cdd358fc47b9c9511a646.tar.gz gcc-4cbc312a31424ca4ff7cdd358fc47b9c9511a646.tar.bz2 |
Share common ordered comparison code with UN*_EXPR.
Most unordered comparisons can use the result from the ordered
version, if the operands are known not to be NAN or if the result is
true.
gcc/ChangeLog:
* range-op-float.cc (class foperator_unordered_lt): New.
(class foperator_relop_unknown): Remove
(class foperator_unordered_le): New.
(class foperator_unordered_gt): New.
(class foperator_unordered_ge): New.
(class foperator_unordered_equal): New.
(floating_op_table::floating_op_table): Replace all UN_EXPR
entries with their appropriate fop_unordered_* counterpart.
Diffstat (limited to 'gcc/value-range.h')
0 files changed, 0 insertions, 0 deletions