aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiopt.cc
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2023-09-07 20:27:35 -0400
committerAldy Hernandez <aldyh@redhat.com>2023-09-08 17:03:39 -0400
commit67761b3b8fcef0fa6b61afab540fa78f7cdd3e4d (patch)
tree09d687403dd17cb04785d1c7706f1bb5a2b42510 /gcc/tree-ssa-phiopt.cc
parentd9926c0d974646dc6024d5a881fe1bee2f499139 (diff)
downloadgcc-67761b3b8fcef0fa6b61afab540fa78f7cdd3e4d.zip
gcc-67761b3b8fcef0fa6b61afab540fa78f7cdd3e4d.tar.gz
gcc-67761b3b8fcef0fa6b61afab540fa78f7cdd3e4d.tar.bz2
[frange] Revert relation handling in LTGT_EXPR.
In trying to come up with a missing testcase for commit 979e0fbf53cd, I've realized the patch doesn't catch anything. A relation of VREL_EQ in foperator_ltgt::fold_range() is either both arguments the same (x LTGT_EXPR x), which we should never emit, or two arguments that are actually the same, in which case !NAN applies, and the whole thing can be handled as NE_EXPR further down. gcc/ChangeLog: * range-op-float.cc (foperator_ltgt::fold_range): Do not special case VREL_EQ nor call frelop_early_resolve.
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
0 files changed, 0 insertions, 0 deletions