WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 197756
197792
[B3::ReduceStrength] specializeSelect should update m_root and clear the m_valueForConstant cache
https://bugs.webkit.org/show_bug.cgi?id=197792
Summary
[B3::ReduceStrength] specializeSelect should update m_root and clear the m_va...
Robin Morisset
Reported
2019-05-10 12:59:25 PDT
When I added
https://bugs.webkit.org/show_bug.cgi?id=197265
I assumed that which block is the root does not change in the middle of strength reduction. But specializeSelect can use splitForward, which for some odd reason uses a new block for the first half of the given block (instead of using a new block for the second half, as I expected). So if the block being split is the root block I must update m_root and erase the m_valueInConstant cache. Erasing the cache cannot cause wrong results: at most it can make us miss some optimization opportunities in this iteration of the fixpoint.
Attachments
Add attachment
proposed patch, testcase, etc.
Robin Morisset
Comment 1
2019-05-10 12:59:39 PDT
rdar://problem/50641659
Robin Morisset
Comment 2
2019-05-10 13:00:45 PDT
*** This bug has been marked as a duplicate of
bug 197756
***
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