[PATCH] D68149: LiveIntervals: Fix handleMoveUp with subreg def moving across a def

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 27 11:05:25 PDT 2019


arsenm created this revision.
arsenm added reviewers: qcolombet, MatzeB, tpr.
Herald added subscribers: nhaehnle, wdng, jvesely.

If a subregister def was moved across another subregister def and
another use, the main range was not correctly updated. The end point
of the moved interval ended too early and missed the use from theh
other lanes in the subreg def.


https://reviews.llvm.org/D68149

Files:
  lib/CodeGen/LiveIntervals.cpp
  test/CodeGen/AMDGPU/sched-handleMoveUp-subreg-def-across-subreg-def.mir
  unittests/MI/LiveIntervalTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68149.222211.patch
Type: text/x-patch
Size: 13349 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190927/f887ac98/attachment-0001.bin>


More information about the llvm-commits mailing list