Re: [PATCH] Fix regcprop noop move handling (PR rtl-optimization/69896)

2016-02-24 Thread Jeff Law
On 02/22/2016 02:26 PM, Jakub Jelinek wrote: Hi! The following testcase is miscompiled, because prepare_shrink_wrap attempts to copyprop_hardreg_forward_1 the first bb. We see DImode rbx being copied to DImode r11, and then we have (dead since postreload) an assignment of SImode r11d to SImode

[PATCH] Fix regcprop noop move handling (PR rtl-optimization/69896)

2016-02-22 Thread Jakub Jelinek
Hi! The following testcase is miscompiled, because prepare_shrink_wrap attempts to copyprop_hardreg_forward_1 the first bb. We see DImode rbx being copied to DImode r11, and then we have (dead since postreload) an assignment of SImode r11d to SImode ebx, and later on some uses of DImode r11. cop