Add a helper function: create_tmp_reg_or_ssa_name
authorMartin Liska <mliska@suse.cz>
Wed, 12 Oct 2016 10:50:40 +0000 (12:50 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 12 Oct 2016 10:50:40 +0000 (10:50 +0000)
commita15ebbcde01c0d6b941f24fcb70cc1412a033b6d
treec5392269e6ebc2d13dfcd311c85f5de6462d2d78
parent5b4c1029596a33d420738c3ef7bc547edd924321
Add a helper function: create_tmp_reg_or_ssa_name

* gimple-fold.c (create_tmp_reg_or_ssa_name): New function.
(gimple_fold_builtin_memory_op): Use the function.
(gimple_fold_builtin_strchr): Likewise.
(gimple_fold_builtin_strcat): Likewise.
(gimple_build): Likewise.

From-SVN: r241030
gcc/ChangeLog
gcc/gimple-fold.c