[all-commits] [llvm/llvm-project] 7cdf43: [LiveIntervals] Fix early-clobber handling in hand...

jayfoad via All-commits all-commits at lists.llvm.org
Fri Jun 19 02:17:26 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7cdf4326a8f290da3804cc92b9dccf45195079dc
      https://github.com/llvm/llvm-project/commit/7cdf4326a8f290da3804cc92b9dccf45195079dc
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2020-06-19 (Fri, 19 Jun 2020)

  Changed paths:
    M llvm/lib/CodeGen/LiveIntervals.cpp
    M llvm/unittests/MI/LiveIntervalTest.cpp

  Log Message:
  -----------
  [LiveIntervals] Fix early-clobber handling in handleMoveUp

Without this fix, handleMoveUp can create an invalid live range like
this:

[98904e,98908r:0)[98908e,227504r:1)

where the two segments overlap, but only because we have lost the "e"
(early-clobber) on the end point of the first segment.

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




More information about the All-commits mailing list