diff options
author | Jeff Law <law@redhat.com> | 2015-10-12 15:39:35 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2015-10-12 15:39:35 -0600 |
commit | 3d466672b1290916bfc75f191787bc7459479ca3 (patch) | |
tree | 175480cddd480785cb6eb725aa212724d5416228 /gcc/tree-vectorizer.h | |
parent | 058a654b30b40d19db1306daa38df363b9bf8a56 (diff) | |
download | gcc-3d466672b1290916bfc75f191787bc7459479ca3.zip gcc-3d466672b1290916bfc75f191787bc7459479ca3.tar.gz gcc-3d466672b1290916bfc75f191787bc7459479ca3.tar.bz2 |
[PATCH] Allow FSM threader to thread more complex conditions
* tree-ssa-threadbackward.c (get_gimple_control_stmt): New function.
(fsm_find_control_stmt_paths): Change name of first argument to
more accurately relfect what it really is. Handle simplification
of GIMPLE_COND after finding a thread path for NAME.
* tree-ssa-threadedge.c (simplify_control_stmt_condition): Allow
nontrivial conditions to be handled by FSM threader.
(thread_through_normal_block): Extract the name to looup via
FSM threader from COND_EXPR.
* gcc.dg/tree-ssa/ssa-thread-12.c: New test.
* gcc.dg/tree-ssa/ssa-dom-thread-7.c: Update expected output.
* gcc.dg/tree-ssa/ssa-thread-11.c: Renamed from
ssa-dom-thread-11.c.
From-SVN: r228739
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions