+2015-09-30 Ilya Enkovich <enkovich.gnu@gmail.com>
+
+ * config/i386/i386.c (scalar_chain::analyze_register_chain): Ignore
+ debug insns.
+ (scalar_chain::convert_reg): Likewise.
+
2015-09-30 Richard Biener <rguenther@suse.de>
* builtins.c: Add comment that no new simplifications shouldd
for (chain = DF_REF_CHAIN (ref); chain; chain = chain->next)
{
unsigned uid = DF_REF_INSN_UID (chain->ref);
+
+ if (!NONDEBUG_INSN_P (DF_REF_INSN (chain->ref)))
+ continue;
+
if (!DF_REF_REG_MEM_P (chain->ref))
{
if (bitmap_bit_p (insns, uid))
bitmap_clear_bit (conv, DF_REF_INSN_UID (ref));
}
}
- else
+ else if (NONDEBUG_INSN_P (DF_REF_INSN (ref)))
{
replace_rtx (DF_REF_INSN (ref), reg, scopy);
df_insn_rescan (DF_REF_INSN (ref));
+2015-09-30 Ilya Enkovich <enkovich.gnu@gmail.com>
+
+ * gcc.target/i386/pr67761.c: New test.
+
2015-09-30 Marek Polacek <polacek@redhat.com>
PR c/67730
--- /dev/null
+/* PR target/pr67761 */
+/* { dg-do compile { target { ia32 } } } */
+/* { dg-options "-O2 -march=slm -g" } */
+/* { dg-final { scan-assembler "paddq" } } */
+
+void
+test (long long *values, long long val, long long delta)
+{
+ unsigned i;
+
+ for (i = 0; i < 128; i++, val += delta)
+ values[i] = val;
+}