aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.c
diff options
context:
space:
mode:
authorBin Cheng <bin.cheng@arm.com>2016-11-23 12:44:08 +0000
committerBin Cheng <amker@gcc.gnu.org>2016-11-23 12:44:08 +0000
commitb54819879e0518b3f1acc5242f9c1d86dd1b9e3c (patch)
treedb5d291195258e1f26c23a15aa79a6d86dbc1de4 /gcc/tree-vectorizer.c
parentb8d89b03db5f212919e4571671ebb4f5f8b1e19d (diff)
downloadgcc-b54819879e0518b3f1acc5242f9c1d86dd1b9e3c.zip
gcc-b54819879e0518b3f1acc5242f9c1d86dd1b9e3c.tar.gz
gcc-b54819879e0518b3f1acc5242f9c1d86dd1b9e3c.tar.bz2
fold-const.c (fold_cond_expr_with_comparison): Move simplification for A cmp C1 ? A : C2 to below, also simplify remaining code.
* fold-const.c (fold_cond_expr_with_comparison): Move simplification for A cmp C1 ? A : C2 to below, also simplify remaining code. * match.pd: Move and extend simplification from above to here: (cond (cmp (convert1? x) c1) (convert2? x) c2) -> (minmax (x c)). * tree-if-conv.c (ifcvt_follow_ssa_use_edges): New func. (predicate_scalar_phi): Call fold_stmt using the new valueize func. gcc/testsuite * gcc.dg/fold-cond_expr-1.c: New test. * gcc.dg/fold-condcmpconv-1.c: New test. * gcc.dg/fold-condcmpconv-2.c: New test. From-SVN: r242750
Diffstat (limited to 'gcc/tree-vectorizer.c')
0 files changed, 0 insertions, 0 deletions