aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoern Rennecke <joern.rennecke@embecosm.com>2012-11-01 06:28:06 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2012-11-01 06:28:06 +0000
commitc3a76b2f482f048a577cc4251184748d8ef27157 (patch)
tree1a2611000a43d23af9cff458e57166da31abb66e
parent776f27a67f26c795ba8c27a4e69525382b9379c3 (diff)
downloadgcc-c3a76b2f482f048a577cc4251184748d8ef27157.zip
gcc-c3a76b2f482f048a577cc4251184748d8ef27157.tar.gz
gcc-c3a76b2f482f048a577cc4251184748d8ef27157.tar.bz2
re PR target/55160 (Counterproductive loop induction variable optimization)
PR target/55160 * config/sh/sh.md (doloop_end): Use emit_jump_insn. From-SVN: r193060
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/sh/sh.md2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 53df5c0..e9b86cc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2012-11-01 Joern Rennecke <joern.rennecke@embecosm.com>
+
+ PR target/55160
+ * config/sh/sh.md (doloop_end): Use emit_jump_insn.
+
2012-10-31 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/53708
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md
index bfb4fbf..6b1fdbe 100644
--- a/gcc/config/sh/sh.md
+++ b/gcc/config/sh/sh.md
@@ -8479,7 +8479,7 @@ label:
{
if (GET_MODE (operands[0]) != SImode)
FAIL;
- emit_insn (gen_doloop_end_split (operands[0], operands[4], operands[0]));
+ emit_jump_insn (gen_doloop_end_split (operands[0], operands[4], operands[0]));
DONE;
})