• Manos Koukoutos's avatar
    [turbofan] Refine CsaLoadElimination::ComputeLoopState · ca849f24
    Manos Koukoutos authored
    Avoid killing the whole mutable state in the following two cases:
    - When we encounter a mutable object store operation, we can only kill
      the respective object/field pair in the mutable state.
    - When we encounter an immutable initialization operation, we do not
      have to modify the state. A DCHECK ensures we do not initialize the
      same field twice.
    
    Drive-by: Avoid zone-allocating data structures for frame-local
    variables.
    
    Bug: v8:11510
    Change-Id: I1c655f619cf620923256f460b30dc7371de571de
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3452022Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
    Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#79035}
    ca849f24
csa-load-elimination.cc 24.6 KB