• bmeurer's avatar
    Revert of [turbofan] Constant propagation for JumpIfFalse/JumpIfTrue.... · d369c4dc
    bmeurer authored
    Revert of [turbofan] Constant propagation for JumpIfFalse/JumpIfTrue. (patchset #4 id:60001 of https://codereview.chromium.org/2666283002/ )
    
    Reason for revert:
    Breaks win64 it seems.
    
    Original issue's description:
    > [turbofan] Constant propagation for JumpIfFalse/JumpIfTrue.
    >
    > The JumpIfFalse and JumpIfTrue bytecodes test the accumulator, and
    > branch based on whether the accumulator is true or false (no other
    > value allowed, and in fact TurboFan would blow up if you would pass
    > anything else, since Branch operator can only deal with Boolean).
    > So for either branch we know exactly the value of the accumulator,
    > and we can update the environment to this constant value instead.
    >
    > This helps to avoid the useless bit materialization that currently
    > happens when || or && is being used in a value context.
    >
    > R=jarin@chromium.org
    > BUG=v8:5267
    >
    > Review-Url: https://codereview.chromium.org/2666283002
    > Cr-Commit-Position: refs/heads/master@{#42843}
    > Committed: https://chromium.googlesource.com/v8/v8/+/158ac9287193f315342ad31c38fe451620d176eb
    
    TBR=jarin@chromium.org
    # Skipping CQ checks because original CL landed less than 1 days ago.
    NOPRESUBMIT=true
    NOTREECHECKS=true
    NOTRY=true
    BUG=v8:5267
    
    Review-Url: https://codereview.chromium.org/2668933002
    Cr-Commit-Position: refs/heads/master@{#42845}
    d369c4dc
simplified-lowering.cc 137 KB