aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-fold.h
diff options
context:
space:
mode:
authorWill Schmidt <will_schmidt@vnet.ibm.com>2018-09-06 15:34:58 +0000
committerWill Schmidt <willschm@gcc.gnu.org>2018-09-06 15:34:58 +0000
commit6847c656b4153fbd0b552ac5051dc7b3ec44246a (patch)
tree0af563b1a424dbbd5d7539333d991d86b5b755f6 /gcc/gimple-fold.h
parent84bde0bffe8b2d6291b196f3cd77398dea971c85 (diff)
downloadgcc-6847c656b4153fbd0b552ac5051dc7b3ec44246a.zip
gcc-6847c656b4153fbd0b552ac5051dc7b3ec44246a.tar.gz
gcc-6847c656b4153fbd0b552ac5051dc7b3ec44246a.tar.bz2
rs6000.c (rs6000_gimple_fold_builtin): Add support for early gimple folding of vec_splat().
[gcc] 2018-09-06 Will Schmidt <will_schmidt@vnet.ibm.com> * config/rs6000/rs6000.c (rs6000_gimple_fold_builtin): Add support for early gimple folding of vec_splat(). * tree-vect-generic.c: Remove static from tree_vec_extract() definition. * gimple-fold.h: Add an extern define for tree_vec_extract(). From-SVN: r264146
Diffstat (limited to 'gcc/gimple-fold.h')
-rw-r--r--gcc/gimple-fold.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/gimple-fold.h b/gcc/gimple-fold.h
index e3fad83..fcb0d31 100644
--- a/gcc/gimple-fold.h
+++ b/gcc/gimple-fold.h
@@ -61,6 +61,7 @@ extern bool gimple_fold_builtin_snprintf (gimple_stmt_iterator *);
extern bool arith_code_with_undefined_signed_overflow (tree_code);
extern gimple_seq rewrite_to_defined_overflow (gimple *);
extern void replace_call_with_value (gimple_stmt_iterator *, tree);
+extern tree tree_vec_extract (gimple_stmt_iterator *, tree, tree, tree, tree);
/* gimple_build, functionally matching fold_buildN, outputs stmts
int the provided sequence, matching and simplifying them on-the-fly.