[all-commits] [llvm/llvm-project] 8fffa4: [GC] Remove redundant entiries in stackmap section...

Philip Reames via All-commits all-commits at lists.llvm.org
Wed Mar 11 21:24:53 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8fffa40400e8719222e7f67152c12738521fa9fb
      https://github.com/llvm/llvm-project/commit/8fffa40400e8719222e7f67152c12738521fa9fb
  Author: Philip Reames <listmail at philipreames.com>
  Date:   2020-03-11 (Wed, 11 Mar 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
    A llvm/test/CodeGen/X86/statepoint-stackmap-size.ll

  Log Message:
  -----------
  [GC] Remove redundant entiries in stackmap section (and test it this time)

This is a reimplementation of the optimization removed in D75964. The actual spill/fill optimization is handled by D76013, this one just worries about reducing the stackmap section size itself by eliminating redundant entries. As noted in the comments, we could go a lot further here, but avoiding the degenerate invoke case as we did before is probably "enough" in practice.

Differential Revision: https://reviews.llvm.org/D76021




More information about the All-commits mailing list