i386.c (ix86_loop_unroll_adjust): Use PATTERN (insn) when looking for memory references.

* config/i386/i386.c (ix86_loop_unroll_adjust): Use PATTERN (insn)
	when looking for memory references.

From-SVN: r223008
This commit is contained in:
Uros Bizjak 2015-05-11 18:35:02 +02:00
parent b1b0e90567
commit bdfdc7da5c
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2015-05-11 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.c (ix86_loop_unroll_adjust): Use PATTERN (insn)
when looking for memory references.
2015-05-11 Alexander Monakov <amonakov@ispras.ru>
PR target/65753
@ -965,7 +970,7 @@
2015-04-30 Caroline Tice <cmtice@google.com>
PR 65929
PR gcov-profile/65929
* config/elfos.h (ASM_DECLARE_COLD_FUNCTION_NAME): New macro definition.
(ASM_DECLARE_COLD_FUNCTION_SIZE): New macro definition.
* doc/tm.texi.in (ASM_DECLARE_COLD_FUNCTION_NAME): Document new macro.

View File

@ -51446,7 +51446,7 @@ ix86_loop_unroll_adjust (unsigned nunroll, struct loop *loop)
for (i = 0; i < loop->num_nodes; i++)
FOR_BB_INSNS (bbs[i], insn)
if (NONDEBUG_INSN_P (insn))
FOR_EACH_SUBRTX (iter, array, insn, NONCONST)
FOR_EACH_SUBRTX (iter, array, PATTERN (insn), NONCONST)
if (const_rtx x = *iter)
if (MEM_P (x))
{