WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 150759
B3::LowerToAir should recognize Neg (i.e. Sub($0, value))
https://bugs.webkit.org/show_bug.cgi?id=150759
Summary
B3::LowerToAir should recognize Neg (i.e. Sub($0, value))
Filip Pizlo
Reported
2015-10-31 11:14:44 PDT
I don't think that the current trySub() lowering handles this. We could handle it either using a second pattern match rule, or by recognizing the zero immediate inside trySub().
Attachments
the patch
(8.44 KB, patch)
2015-11-03 16:18 PST
,
Filip Pizlo
benjamin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Filip Pizlo
Comment 1
2015-11-03 16:18:50 PST
Created
attachment 264750
[details]
the patch
Benjamin Poulain
Comment 2
2015-11-03 16:32:07 PST
Comment on
attachment 264750
[details]
the patch View in context:
https://bugs.webkit.org/attachment.cgi?id=264750&action=review
> Source/JavaScriptCore/b3/B3LoweringMatcher.patterns:40 > +StoreSubLoad = Store(Sub(left, right), address)
Aw, crap.
Filip Pizlo
Comment 3
2015-11-03 16:42:19 PST
Landed in
http://trac.webkit.org/changeset/191996
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug