aboutsummaryrefslogtreecommitdiff
path: root/gcc/ccmp.h
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@cavium.com>2017-06-29 18:20:14 +0000
committerSteve Ellcey <sje@gcc.gnu.org>2017-06-29 18:20:14 +0000
commitf580a969d7fbab634949805c8b7e49f4e6273a7f (patch)
treef02511316e7c5ca76d7116acd273831a4b4a1af2 /gcc/ccmp.h
parentbe3b7dcf5c0f48ce72fe7a6f30db350e5c6872f3 (diff)
downloadgcc-f580a969d7fbab634949805c8b7e49f4e6273a7f.zip
gcc-f580a969d7fbab634949805c8b7e49f4e6273a7f.tar.gz
gcc-f580a969d7fbab634949805c8b7e49f4e6273a7f.tar.bz2
ccmp.c (ccmp_tree_comparison_p): New function.
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. From-SVN: r249805
Diffstat (limited to 'gcc/ccmp.h')
-rw-r--r--gcc/ccmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ccmp.h b/gcc/ccmp.h
index bc1aafb..93d1049 100644
--- a/gcc/ccmp.h
+++ b/gcc/ccmp.h
@@ -20,6 +20,6 @@ along with GCC; see the file COPYING3. If not see
#ifndef GCC_CCMP_H
#define GCC_CCMP_H
-extern rtx expand_ccmp_expr (gimple *);
+extern rtx expand_ccmp_expr (gimple *, machine_mode);
#endif /* GCC_CCMP_H */