aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-09-07 11:14:32 -0700
committerRichard Henderson <rth@gcc.gnu.org>2001-09-07 11:14:32 -0700
commit9b3bd4249d2e0e46d4bec0909e626543bbd14d3b (patch)
treefdd0e020da43b19ca8c6fe9ea8eb332cf71d6eba /gcc/rtl.h
parent9978052974a84e9666af3c1f69bdf599c43cd5d0 (diff)
downloadgcc-9b3bd4249d2e0e46d4bec0909e626543bbd14d3b.zip
gcc-9b3bd4249d2e0e46d4bec0909e626543bbd14d3b.tar.gz
gcc-9b3bd4249d2e0e46d4bec0909e626543bbd14d3b.tar.bz2
loop.c (record_giv): Avoid simplifying MULT to ASHIFT.
* loop.c (record_giv): Avoid simplifying MULT to ASHIFT. (express_from_1): Wrap lines. * rtlanal.c (commutative_operand_precedence): Rename from operand_preference; export. * rtl.h: Declare it. * simplify-rtx.c (simplify_gen_binary): Tidy +/- const_int handling. (simplify_binary_operation): Invoke simplify_plus_minus on (CONST (PLUS ...)) as well. (struct simplify_plus_minus_op_data): New. (simplify_plus_minus_op_data_cmp): New. (simplify_plus_minus): Use them. Avoid infinite recursion with simplify_binary_operation wrt CONST. From-SVN: r45473
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 3a0a019..75204b6 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1374,6 +1374,7 @@ extern int reg_used_between_p PARAMS ((rtx, rtx, rtx));
extern int reg_referenced_between_p PARAMS ((rtx, rtx, rtx));
extern int reg_set_between_p PARAMS ((rtx, rtx, rtx));
extern int regs_set_between_p PARAMS ((rtx, rtx, rtx));
+extern int commutative_operand_precedence PARAMS ((rtx));
extern int swap_commutative_operands_p PARAMS ((rtx, rtx));
extern int modified_between_p PARAMS ((rtx, rtx, rtx));
extern int no_labels_between_p PARAMS ((rtx, rtx));