On Wed, Apr 8, 2015 at 11:42 AM, Chandler Carruth <[email protected]>
wrote:

> Before we go here, I think we should seriously ask whether we want to undo
> that restriction on shift left.
>
> I can see arguments both for and against it.
>
> Does GCC already do this optimization?


I've not found any evidence that GCC optimizes on the assumption that the
LHS of a signed left shift is not negative.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to