diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-12-02 07:32:54 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-12-02 07:32:54 +0000 |
commit | 84d842ae5dafe88f439265e8197ef54c8844bbef (patch) | |
tree | f005c6004baa4d4d9f6155bc20621b91efac3546 /gcc/config/aarch64/aarch64-builtins.c | |
parent | 2761faca6e7f580cec532de505e90ca534b3d264 (diff) | |
download | gcc-84d842ae5dafe88f439265e8197ef54c8844bbef.tar.gz |
* config/alpha/alpha.c (alpha_gimple_fold_builtin): Use
gimple_build_assign instead of gimple_build_assign_with_ops and swap
the order of first two arguments.
* config/aarch64/aarch64-builtins.c (aarch64_gimple_fold_builtin):
Likewise. Remove last NULL_TREE argument.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218256 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/aarch64/aarch64-builtins.c')
-rw-r--r-- | gcc/config/aarch64/aarch64-builtins.c | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/gcc/config/aarch64/aarch64-builtins.c b/gcc/config/aarch64/aarch64-builtins.c index db6d6c17b0f..e73620e695d 100644 --- a/gcc/config/aarch64/aarch64-builtins.c +++ b/gcc/config/aarch64/aarch64-builtins.c @@ -1322,27 +1322,18 @@ aarch64_gimple_fold_builtin (gimple_stmt_iterator *gsi) switch (fcode) { BUILTIN_VALL (UNOP, reduc_plus_scal_, 10) - new_stmt = gimple_build_assign_with_ops ( - REDUC_PLUS_EXPR, - gimple_call_lhs (stmt), - args[0], - NULL_TREE); + new_stmt = gimple_build_assign (gimple_call_lhs (stmt), + REDUC_PLUS_EXPR, args[0]); break; BUILTIN_VDQIF (UNOP, reduc_smax_scal_, 10) BUILTIN_VDQ_BHSI (UNOPU, reduc_umax_scal_, 10) - new_stmt = gimple_build_assign_with_ops ( - REDUC_MAX_EXPR, - gimple_call_lhs (stmt), - args[0], - NULL_TREE); + new_stmt = gimple_build_assign (gimple_call_lhs (stmt), + REDUC_MAX_EXPR, args[0]); break; BUILTIN_VDQIF (UNOP, reduc_smin_scal_, 10) BUILTIN_VDQ_BHSI (UNOPU, reduc_umin_scal_, 10) - new_stmt = gimple_build_assign_with_ops ( - REDUC_MIN_EXPR, - gimple_call_lhs (stmt), - args[0], - NULL_TREE); + new_stmt = gimple_build_assign (gimple_call_lhs (stmt), + REDUC_MIN_EXPR, args[0]); break; default: |