From: Uros Bizjak Date: Mon, 11 May 2015 16:35:02 +0000 (+0200) Subject: i386.c (ix86_loop_unroll_adjust): Use PATTERN (insn) when looking for memory references. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bdfdc7da5c5221f0c06a9ea69057389a2d623318;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7640c5b50aa..77aa930136d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-05-11 Uros Bizjak + + * config/i386/i386.c (ix86_loop_unroll_adjust): Use PATTERN (insn) + when looking for memory references. + 2015-05-11 Alexander Monakov PR target/65753 @@ -13,7 +18,7 @@ ([-fno-plt]): Document. 2015-05-11 Markus Trippelsdorf - + PR bootstrap/66105 * config/rs6000/option-defaults.h: Add space between string literal and macro name. @@ -606,7 +611,7 @@ 2015-05-05 Matthew Wahab * gcc/config/aarch64-protos.h (struct cpu_branch_cost): New. - (tune_params): Add field branch_costs. + (tune_params): Add field branch_costs. (aarch64_branch_cost): Declare. * gcc/config/aarch64.c (generic_branch_cost): New. (generic_tunings): Set field cpu_branch_cost to generic_branch_cost. @@ -965,7 +970,7 @@ 2015-04-30 Caroline Tice - 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. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index fb7977f4d65..277ecbcb9c9 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -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)) {