[all-commits] [llvm/llvm-project] 940ba1: Fix possible assertion when using PBQP with debug ...

Danila Malyutin via All-commits all-commits at lists.llvm.org
Wed Mar 18 05:30:06 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 940ba1465b2c573a4c8aeb7f0a08fb1f46606954
      https://github.com/llvm/llvm-project/commit/940ba1465b2c573a4c8aeb7f0a08fb1f46606954
  Author: Danila Malyutin <danila at synopsys.com>
  Date:   2020-03-18 (Wed, 18 Mar 2020)

  Changed paths:
    M llvm/lib/CodeGen/CalcSpillWeights.cpp
    A llvm/test/CodeGen/Generic/csw-debug-assert.ll

  Log Message:
  -----------
  Fix possible assertion when using PBQP with debug info

Skip debug instructions before calling functions not expecting them.
In particular, LIS.getInstructionIndex(*mi) would fail if mi was a debg instr.

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




More information about the All-commits mailing list