Bug 68138

Summary: DFG does not speculate aggressively enough on comparisons
Product: WebKit Reporter: Filip Pizlo <fpizlo>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: aroben
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
the patch oliver: review+

Description Filip Pizlo 2011-09-14 20:58:47 PDT
DFG will emit slow-path code for peephole comparisons even if we have a double prediction.  For non-peephole double comparisons, we always take a slow path.
Comment 1 Filip Pizlo 2011-09-14 21:35:32 PDT
Created attachment 107451 [details]
the patch

75% speed-up on Kraken/ai-astar.
Comment 2 Filip Pizlo 2011-09-15 00:28:03 PDT
Landed in r95172
Comment 3 Adam Roben (:aroben) 2011-09-15 09:13:33 PDT
Clang build fix in http://trac.webkit.org/changeset/95194