Re: Deletion of trivial insn during IRA

2011-10-04 Thread Paulo J. Matos
Ian Lance Taylor writes: > pa...@matos-sorge.com (Paulo J. Matos) writes: > >> I am trying to find where IRA, is deleting trivial insn like: >> (set r1 r1) > > Search for "Discard obvious no-ops" in the function reload in the file > gcc/reload1.c. Thanks, that's exactly it. -- PMatos

Re: Deletion of trivial insn during IRA

2011-10-03 Thread Ian Lance Taylor
pa...@matos-sorge.com (Paulo J. Matos) writes: > I am trying to find where IRA, is deleting trivial insn like: > (set r1 r1) Search for "Discard obvious no-ops" in the function reload in the file gcc/reload1.c. Ian

Deletion of trivial insn during IRA

2011-10-03 Thread Paulo J. Matos
Hi, I am trying to find where IRA, is deleting trivial insn like: (set r1 r1) The problem I am facing is that I have managed to convince GCC to handle moves that clobber RCC like: (parallel [(set reg1 reg2) (clobber rcc)]) However, I am getting loads of insn like: (parallel [(set r1 r2) (clobb