RESOLVED FIXED 174846
Remove Broken CompareEq constant folding phase.
https://bugs.webkit.org/show_bug.cgi?id=174846
Summary Remove Broken CompareEq constant folding phase.
Keith Miller
Reported 2017-07-25 17:09:38 PDT
This phase is broken because it can lead to patterns that we don't know how to generate.
Attachments
Patch (2.21 KB, patch)
2017-07-25 17:19 PDT, Keith Miller
no flags
Patch (2.38 KB, patch)
2017-07-25 17:20 PDT, Keith Miller
saam: review+
Keith Miller
Comment 1 2017-07-25 17:11:45 PDT
Keith Miller
Comment 2 2017-07-25 17:19:19 PDT
Keith Miller
Comment 3 2017-07-25 17:20:41 PDT
Saam Barati
Comment 4 2017-07-25 17:34:31 PDT
Comment on attachment 316411 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=316411&action=review > Source/JavaScriptCore/dfg/DFGConstantFoldingPhase.cpp:138 > + // FIXME: We should add back the broken folding phase here for comparisions with thing we prove one side has type SpecOther. thing => things. Also, please add bug URL or remove FIXME.
Keith Miller
Comment 5 2017-07-25 17:44:25 PDT
Comment on attachment 316411 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=316411&action=review >> Source/JavaScriptCore/dfg/DFGConstantFoldingPhase.cpp:138 >> + // FIXME: We should add back the broken folding phase here for comparisions with thing we prove one side has type SpecOther. > > thing => things. > > Also, please add bug URL or remove FIXME. Fixed.
Keith Miller
Comment 6 2017-07-25 17:49:31 PDT
Note You need to log in before you can comment on or make changes to this bug.