projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b040e3a
)
* loop.c (strength_reduce): Don't do biv->giv conversion on constants.
author
J"orn Rennecke
<amylaar@cygnus.co.uk>
Thu, 27 May 1999 01:46:21 +0000
(
01:46
+0000)
committer
Jeff Law
<law@gcc.gnu.org>
Thu, 27 May 1999 01:46:21 +0000
(19:46 -0600)
From-SVN: r27194
gcc/ChangeLog
patch
|
blob
|
history
gcc/loop.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 2ea55b83aa6fb2ba708c5f03a64e092c9bea2b6d..f6c768aa097b44e029a98aaa933ee5fabd732c21 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,3
+1,7
@@
+Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
+
+ * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
+
Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
* reload.c (push_reload): Do not call remove_address_replacements
diff --git
a/gcc/loop.c
b/gcc/loop.c
index 7ee653218ca2b5b5de9c3194eaf0d982a2b0bbec..c7047f286f01d7abcd3f39f521d3569d85a7d769 100644
(file)
--- a/
gcc/loop.c
+++ b/
gcc/loop.c
@@
-4193,6
+4193,8
@@
strength_reduce (scan_start, end, loop_top, insn_count,
|| ! next->always_executed
|| next->maybe_multiple
|| ! CONSTANT_P (next->add_val)
+ || v->mult_val != const1_rtx
+ || next->mult_val != const1_rtx
|| ! (biv_dead_after_loop
|| no_jumps_between_p (v->insn, next->insn)))
{