aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/decl.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2020-09-17 11:48:36 +0200
committerRichard Biener <rguenther@suse.de>2020-09-17 13:56:15 +0200
commitc7f4be78cb61006492d16375aba5392f580cd633 (patch)
treefae2071cad4368dfc130f1d0a4512567cd9369b4 /gcc/fortran/decl.c
parent225a08220e444371ae4867b3e2ace275d30af3d3 (diff)
downloadgcc-c7f4be78cb61006492d16375aba5392f580cd633.zip
gcc-c7f4be78cb61006492d16375aba5392f580cd633.tar.gz
gcc-c7f4be78cb61006492d16375aba5392f580cd633.tar.bz2
CSE negated multiplications and divisions
This adds the capability to look for available negated multiplications and divisions, replacing them with cheaper negates. 2020-09-17 Richard Biener <rguenther@suse.de> * tree-ssa-sccvn.c (visit_nary_op): Value-number multiplications and divisions to negates of available negated forms. * gcc.dg/tree-ssa/ssa-fre-88.c: New testcase.
Diffstat (limited to 'gcc/fortran/decl.c')
0 files changed, 0 insertions, 0 deletions