]> git.ipfire.org Git - thirdparty/gcc.git/commit
2017-06-29 Steve Ellcey <sellcey@cavium.com>
authorsje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Jun 2017 18:20:14 +0000 (18:20 +0000)
committersje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Jun 2017 18:20:14 +0000 (18:20 +0000)
commit7b65258a962c8df60291d53d3ff05509c41d5a28
treef02511316e7c5ca76d7116acd273831a4b4a1af2
parent4fbdcec5d521fe154bc6e1738b40f649ba216c2d
2017-06-29  Steve Ellcey  <sellcey@cavium.com>

* ccmp.c (ccmp_tree_comparison_p): New function.
(ccmp_candidate_p): Update to use above function.
(get_compare_parts): New function.
(expand_ccmp_next): Update to use new functions.
(expand_ccmp_expr_1): Take tree arg instead of gimple, update to use
new functions.
(expand_ccmp_expr): Pass tree instead of gimple to expand_ccmp_expr_1,
take mode as argument.
* ccmp.h (expand_ccmp_expr): Add mode as argument.
* expr.c (expand_expr_real_1): Pass mode as argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@249805 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ccmp.c
gcc/ccmp.h
gcc/expr.c