Bug 169867

Summary: B3::LowerToAir incorrectly selects BitXor(AtomicStrongCAS(...), $1)
Product: WebKit Reporter: Filip Pizlo <fpizlo>
Component: JavaScriptCoreAssignee: Filip Pizlo <fpizlo>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, keith_miller, mark.lam, msaboff, saam
Priority: P2    
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
the patch saam: review+

Description Filip Pizlo 2017-03-19 16:14:58 PDT
It thinks that this is just like NotEqual(AtomicStrongCAS(@exp, ...), @exp).  It's not.  We need to teach it to only look for AtomicWeakCAS in that pattern, not any AtomicCAS.
Comment 1 Filip Pizlo 2017-04-04 15:06:37 PDT
Created attachment 306210 [details]
the patch
Comment 2 Filip Pizlo 2017-04-04 15:38:14 PDT
Landed in https://trac.webkit.org/changeset/214908/webkit