| Summary: | DFG should always run CFG Simplification after Constant Folding. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Keith Miller <keith_miller> | ||||||
| Component: | New Bugs | Assignee: | Keith Miller <keith_miller> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | ews-watchlist, fpizlo, mark.lam, msaboff, rmorisset, saam, tzagallo, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Keith Miller
2020-08-07 11:59:53 PDT
Created attachment 406199 [details]
Patch
Comment on attachment 406199 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=406199&action=review > Source/JavaScriptCore/dfg/DFGCFGSimplificationPhase.cpp:-52 > - // FIXME: We should make this work in SSA. https://bugs.webkit.org/show_bug.cgi?id=148260 If this is no longer a FIXME, please close the corresponding bug on bugzilla. > Source/JavaScriptCore/dfg/DFGValidate.cpp:-814 > - bool didSeeExitOK = false; Why did you remove this validation? Can you explain it in the Changelog if it is on purpose? *** Bug 148260 has been marked as a duplicate of this bug. *** Comment on attachment 406199 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=406199&action=review >> Source/JavaScriptCore/dfg/DFGCFGSimplificationPhase.cpp:-52 >> - // FIXME: We should make this work in SSA. https://bugs.webkit.org/show_bug.cgi?id=148260 > > If this is no longer a FIXME, please close the corresponding bug on bugzilla. Done. >> Source/JavaScriptCore/dfg/DFGValidate.cpp:-814 >> - bool didSeeExitOK = false; > > Why did you remove this validation? Can you explain it in the Changelog if it is on purpose? Because it's unnecessary and fails when you merge two blocks where the latter block has a Phi. I'll add a comment to the ChangeLog. Created attachment 406310 [details]
Patch
Committed r266101: <https://trac.webkit.org/changeset/266101> All reviewed patches have been landed. Closing bug and clearing flags on attachment 406310 [details]. |