aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-niter.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2015-06-26 10:59:27 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2015-06-26 10:59:27 +0000
commit66e1cacf608045c09f7c1e4be9940caefeccd473 (patch)
tree15f8263212e8e9f94762483e2a083110185da545 /gcc/tree-ssa-loop-niter.c
parent8afaddaace206b20d883497a8fa34712997f819f (diff)
downloadgcc-66e1cacf608045c09f7c1e4be9940caefeccd473.zip
gcc-66e1cacf608045c09f7c1e4be9940caefeccd473.tar.gz
gcc-66e1cacf608045c09f7c1e4be9940caefeccd473.tar.bz2
fold-const.c (fold_binary_loc): Remove -A CMP -B -> A CMP B and -A CMP CST -> A CMP -CST which is redundant...
2015-06-26 Richard Biener <rguenther@suse.de> * fold-const.c (fold_binary_loc): Remove -A CMP -B -> A CMP B and -A CMP CST -> A CMP -CST which is redundant with a pattern in match.pd. Move (A | C) == D where C & ~D != 0 -> 0, (X ^ Y) ==/!= 0 -> X ==/!= Y, (X ^ Y) ==/!= {Y,X} -> {X,Y} ==/!= 0 and (X ^ C1) op C2 -> X op (C1 ^ C2) to ... * match.pd: ... patterns here. * gcc.dg/tree-ssa/forwprop-25.c: Adjust. From-SVN: r225007
Diffstat (limited to 'gcc/tree-ssa-loop-niter.c')
0 files changed, 0 insertions, 0 deletions