[all-commits] [llvm/llvm-project] 914c83: [InlineSpiller] Clean-up isSpillCandBB

serguei-katkov via All-commits all-commits at lists.llvm.org
Thu Apr 22 20:16:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 914c8328244477d68043f36107e98794e3b9dab7
      https://github.com/llvm/llvm-project/commit/914c8328244477d68043f36107e98794e3b9dab7
  Author: Serguei Katkov <serguei.katkov at azul.com>
  Date:   2021-04-23 (Fri, 23 Apr 2021)

  Changed paths:
    M llvm/lib/CodeGen/InlineSpiller.cpp

  Log Message:
  -----------
  [InlineSpiller] Clean-up isSpillCandBB

This is mostly NFC except that for end of BB not previous slot is used.
Idx is used to find a def of sibling live interval in that slot.
The def on end of MBB and on previous slot of end MBB should be the same,
so it should be NFC.

Reviewers: reames, qcolombet, MatzeB, wmi, rnk
Reviewed By: rnk
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D100922




More information about the All-commits mailing list