Re: [PATCH] Fix PR80754

2017-05-24 Thread Vladimir Makarov
On 05/17/2017 07:32 AM, Wilco Dijkstra wrote: When lra-remat rematerializes an instruction with a clobber, it checks that the clobber does not kill live registers. However it fails to check that the clobber also doesn't overlap with the destination register of the final rematerialized instruct

[PATCH] Fix PR80754

2017-05-17 Thread Wilco Dijkstra
When lra-remat rematerializes an instruction with a clobber, it checks that the clobber does not kill live registers. However it fails to check that the clobber also doesn't overlap with the destination register of the final rematerialized instruction. As a result it is possible to generate ille