[PATCH] Make sure shift amount in RTL is not wider than shift mode (PR rtl-optimization/65321)

2015-03-09 Thread Jakub Jelinek
Hi! As mentioned in the PR, e.g. wide-int is very unhappy if the shift second operand doesn't fit into the shift mode. Generally, the backend shift patterns ensure that, but in debug insns nothing enforces that. This patch fixes that by making sure e.g. QImode shifts have always at QImode shift

Re: [PATCH] Make sure shift amount in RTL is not wider than shift mode (PR rtl-optimization/65321)

2015-03-09 Thread Jeff Law
On 03/09/15 15:23, Jakub Jelinek wrote: Hi! As mentioned in the PR, e.g. wide-int is very unhappy if the shift second operand doesn't fit into the shift mode. Generally, the backend shift patterns ensure that, but in debug insns nothing enforces that. This patch fixes that by making sure e.g.