Commit 572b643b authored by machenbach's avatar machenbach Committed by Commit bot

Revert of [interpreter] Properly collect rhs feedback for comparisons with...

Revert of [interpreter] Properly collect rhs feedback for comparisons with oddballs. (patchset #1 id:1 of https://codereview.chromium.org/2513903002/ )

Reason for revert:
Seems to break layout tests:
https://build.chromium.org/p/client.v8.fyi/builders/V8-Blink%20Linux%2064/builds/11452

Original issue's description:
> [interpreter] Properly collect rhs feedback for comparisons with oddballs.
>
> Ignition skipped collecting NumberOrOddball feedback if the right hand
> side of a relational comparison is undefined, thus leading to a
> deoptimization loop, because it reported Number feedback to TurboFan.
>
> This was caught on 3d-raytrace test of SunSpider.
>
> R=rmcilroy@chromium.org
>
> Committed: https://crrev.com/d240ffec32ae034e50c006f7d5715171b32bbbc4
> Cr-Commit-Position: refs/heads/master@{#41094}

TBR=rmcilroy@chromium.org,bmeurer@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

Review-Url: https://codereview.chromium.org/2511243004
Cr-Commit-Position: refs/heads/master@{#41100}
parent a00e1a57
...@@ -1081,10 +1081,9 @@ void Interpreter::DoCompareOpWithFeedback(Token::Value compare_op, ...@@ -1081,10 +1081,9 @@ void Interpreter::DoCompareOpWithFeedback(Token::Value compare_op,
__ Word32Equal(rhs_instance_type, __ Int32Constant(ODDBALL_TYPE)); __ Word32Equal(rhs_instance_type, __ Int32Constant(ODDBALL_TYPE));
__ GotoUnless(rhs_is_oddball, &rhs_is_not_oddball); __ GotoUnless(rhs_is_oddball, &rhs_is_not_oddball);
var_type_feedback.Bind(__ Word32Or( var_type_feedback.Bind(
var_type_feedback.value(), __ Int32Constant(CompareOperationFeedback::kNumberOrOddball));
__ Int32Constant(CompareOperationFeedback::kNumberOrOddball))); __ Goto(&do_compare);
__ Goto(&update_feedback);
__ Bind(&rhs_is_not_oddball); __ Bind(&rhs_is_not_oddball);
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment