2013-07-21 Andrew Pinski <apinski@cavium.com>heads/pinskia/newtreefold
commitd32468a31ab5e50fabab3a04303f6892ad890fd5
authorAndrew Pinski <apinski@cavium.com>
Mon, 22 Jul 2013 01:42:04 +0000 (21 18:42 -0700)
committerAndrew Pinski <apinski@cavium.com>
Mon, 22 Jul 2013 01:42:04 +0000 (21 18:42 -0700)
treece692c774afb74d94afe71a6cdf88b8efe1fc58f
parent2113607a09a66959d797e5f2a79048838b87ecec
2013-07-21  Andrew Pinski  <apinski@cavium.com>

* gimple-ssa-combine.c: New file.
* gimple-ssa-combine.h: New file.
* Makefile.in (OBJS): Add gimple-ssa-combine.o.
(gimple-ssa-combine.o): New target.
* tree-ssa-forwprop.c: Include gimple-ssa-combine.h.
(delete_dead_code_uptil): New function.
(ssa_forward_propagate_and_combine): Create
gimple_combine object and call combine on it.
Assert if the combine does not find an optimization
that forwprop's combiner does.
gcc/Makefile.in
gcc/gimple-ssa-combine.c [new file with mode: 0644]
gcc/gimple-ssa-combine.h [new file with mode: 0644]
gcc/tree-ssa-forwprop.c