Re: [PATCH] Fix parts of PR52975

2012-04-21 Thread H.J. Lu
On Mon, Apr 16, 2012 at 2:22 AM, Richard Guenther rguent...@suse.de wrote: When looking at the code we produce from if-conversion and vectorization I noticed several things.  For one, we are not handling TARGET_MEM_REF in operand_equal_p which means that DOM does not clean up loads/stores of

[PATCH] Fix parts of PR52975

2012-04-16 Thread Richard Guenther
When looking at the code we produce from if-conversion and vectorization I noticed several things. For one, we are not handling TARGET_MEM_REF in operand_equal_p which means that DOM does not clean up loads/stores of that form (to the extent DOM can do that anyway). Also we never simplify the