[PATCH][2/2] Make SCCVN use conditional equivalences

Richard Biener rguenther@suse.de
Thu Aug 13 09:25:00 GMT 2015


On Thu, 13 Aug 2015, Andreas Schwab wrote:

> On m68k:
> 
> FAIL: gcc.dg/tree-ssa/vrp33.c scan-tree-dump vrp1 "Folding predicate.*== 1 to 0"
> 
> $ gcc/xgcc -B gcc/ ../gcc/testsuite/gcc.dg/tree-ssa/vrp33.c -O2 -fdump-tree-vrp1 -S
> $ grep -c Folding *.vrp1
> 0

I suppose for logical-op-non-short-circuit you need -fno-tree-fre for
that testcase now (which shouldn't harm for other targets).

Patch to add that pre-approved if it works.

Richard.



More information about the Gcc-patches mailing list