tree-pass.h (make_pass_ch_vect): New.
authorAlan Lawrence <alan.lawrence@arm.com>
Thu, 2 Jul 2015 11:47:31 +0000 (11:47 +0000)
committerAlan Lawrence <alalaw01@gcc.gnu.org>
Thu, 2 Jul 2015 11:47:31 +0000 (11:47 +0000)
commit4f9a2b4e884acb7db0e9acb3c13b0adfbce65725
tree03b839a9ffb0c5708c3e05e1fbf436749d1db944
parent5fa79de857ef94a396c313826b290c4bb548c135
tree-pass.h (make_pass_ch_vect): New.

gcc/:

* tree-pass.h (make_pass_ch_vect): New.
* passes.def: Add pass_ch_vect just before pass_if_conversion.

* tree-ssa-loop-ch.c (ch_base, pass_ch_vect, pass_data_ch_vect,
pass_ch::process_loop_p, pass_ch_vect::process_loop_p,
make_pass_ch_vect): New.
(pass_ch): Extend ch_base.

(pass_ch::execute): Move all but loop_optimizer_init/finalize to...
(ch_base::copy_headers): ...here.

gcc/testsuite/:

* gcc.dg/vect/vect-strided-a-u16-i4.c (main1): Narrow scope of x,y,z,w.
* gcc.dg/vect/vect-ifcvt-11.c: New testcase.

From-SVN: r225311
gcc/ChangeLog
gcc/passes.def
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/vect-ifcvt-11.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i4.c
gcc/tree-pass.h
gcc/tree-ssa-loop-ch.c