[webkit-reviews] review requested: [Bug 152164] B3 should reduce Shl(<S|Z>Shr(@x, @const), @const) to BitAnd(@x, -(1<<@const)) : [Attachment 365002] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 17 23:44:42 PDT 2019


Robin Morisset <rmorisset at apple.com> has asked	for review:
Bug 152164: B3 should reduce Shl(<S|Z>Shr(@x, @const), @const) to BitAnd(@x,
-(1<<@const))
https://bugs.webkit.org/show_bug.cgi?id=152164

Attachment 365002: Patch

https://bugs.webkit.org/attachment.cgi?id=365002&action=review




--- Comment #14 from Robin Morisset <rmorisset at apple.com> ---
Created attachment 365002

  --> https://bugs.webkit.org/attachment.cgi?id=365002&action=review

Patch

Found the problem: I had just forgotten to add the constant to the basic block.


More information about the webkit-reviews mailing list