r274117 - in /trunk/gcc: ChangeLog gimple-fold....

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Mon Aug 5 16:46:00 GMT 2019


Author: rsandifo
Date: Mon Aug  5 16:46:48 2019
New Revision: 274117

URL: https://gcc.gnu.org/viewcvs?rev=274117&root=gcc&view=rev
Log:
Add a gimple_move_vops helper function

I needed to add another instance of this idiom, so thought it'd
be worth having a helper function.

2019-08-05  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
	* gimple.h (gimple_move_vops): Declare.
	* gimple.c (gimple_move_vops): New function
	* gimple-fold.c (replace_call_with_call_and_fold)
	(gimple_fold_builtin_memory_op, gimple_fold_builtin_memset)
	(gimple_fold_builtin_stpcpy, fold_builtin_atomic_compare_exchange)
	(gimple_fold_call): Use it.
	* ipa-param-manipulation.c (ipa_modify_call_arguments): Likewise.
	* tree-call-cdce.c (use_internal_fn): Likewise.
	* tree-if-conv.c (predicate_load_or_store): Likewise.
	* tree-ssa-ccp.c (optimize_atomic_bit_test_and): Likewise.
	* tree-ssa-math-opts.c (pass_cse_reciprocals::execute): Likewise.
	* tree-ssa-propagate.c (finish_update_gimple_call): Likewise.
	(update_call_from_tree): Likewise.
	* tree-vect-stmts.c (vectorizable_load): Likewise.
	* tree-vectorizer.c (adjust_simduid_builtins): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-fold.c
    trunk/gcc/gimple.c
    trunk/gcc/gimple.h
    trunk/gcc/ipa-param-manipulation.c
    trunk/gcc/tree-call-cdce.c
    trunk/gcc/tree-if-conv.c
    trunk/gcc/tree-ssa-ccp.c
    trunk/gcc/tree-ssa-math-opts.c
    trunk/gcc/tree-ssa-propagate.c
    trunk/gcc/tree-vect-stmts.c
    trunk/gcc/tree-vectorizer.c



More information about the Gcc-cvs mailing list