mveriksson

Results comments of mveriksson

> Ah, I see now, I thought opt was failing. Do you by any chance have less > simplified example? I can see that this might be an issue, but...

> Looks like it's fixed in trunk. Could you please verify? I tried to verify, but the problem is still there I think. The reproducer that I uploaded still shows...

As an experiment I tried modifying the code so that it would duplicate the first incoming value of the phi instead of always creating undef: @@ -3401,7 +3401,7 @@ void...

I don't know the exact commit but I would guess it is r171251 that is mentioned in Bug 14725. It is possible that this example was broken also before this,...

> Fix up for review at http://reviews.llvm.org/D13458 I have verified that this patch does indeed fix the issue that I was debugging. Thank you for working on this!

Here is input from a debugging sessions right before RewriteLoopExitValues is about to run in IndVarsSimplify. Look at order of the incoming values of the phi-nodes in bb1: (gdb) p...

I have verified that the fix does indeed solve my original problem. Thank you!

Great! I did not think about changing the threshold. Maybe I should look into why my target is much more willing to vectorize this example compared to other targets.

Hi, Charlie! I tried to reduce the test in a better way by putting the assert where the miscompile happens. I still can't make it miscompile for an in-tree target....