[compiler] Run BranchConditionDuplicationPhase in Builtin codegen

Bug: v8:12484
Change-Id: I2b104926fa9d240fceb2bcfb1ec6d13cf07235b7
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3584457
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Commit-Queue: Hao A Xu <hao.a.xu@intel.com>
Cr-Commit-Position: refs/heads/main@{#79951}
This commit is contained in:
Hao Xu 2022-04-13 17:28:12 +08:00 committed by V8 LUCI CQ
parent 213194f7bc
commit ecae28fe5a

View File

@ -2945,6 +2945,10 @@ MaybeHandle<Code> Pipeline::GenerateCodeForCodeStub(
pipeline.RunPrintAndVerify(DecompressionOptimizationPhase::phase_name(),
true);
pipeline.Run<BranchConditionDuplicationPhase>();
pipeline.RunPrintAndVerify(BranchConditionDuplicationPhase::phase_name(),
true);
pipeline.Run<VerifyGraphPhase>(true);
int graph_hash_before_scheduling = 0;