• Leszek Swirski's avatar
    [maglev] Make regalloc aware of lazy deopts · b57bb622
    Leszek Swirski authored
    Port the eager deopt handling in the use marker and register allocator
    to do the same thing with lazy deopts. This requires moving the lazy
    deopt info to be a pseudo-input before the node, same as eager deopt
    info, so that the regalloc can read it without needing the Node's
    opcode.
    
    For now, this means that a node cannot both eager- and lazy-deopt; if we
    need this in the future we can rethink it.
    
    Bug: v8:7700
    Change-Id: I96292af9c483f285b1e45bfb374c8dc600fa6347
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3568452Reviewed-by: 's avatarVictor Gomes <victorgomes@chromium.org>
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#79757}
    b57bb622
maglev-graph-printer.cc 17 KB