OSDN Git Service

Account for undef values from predecessors in extendSegmentsToUses
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Tue, 26 Jun 2018 14:37:16 +0000 (14:37 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Tue, 26 Jun 2018 14:37:16 +0000 (14:37 +0000)
commit2c45bcb399323304d4b68640ea65e221b9ca2f44
treebeca23d77f7163c6b504aba49b03dbbdaf0f31d2
parentf2d90857daf89e199e849a226834080fe7e54499
Account for undef values from predecessors in extendSegmentsToUses

It is legal for a PHI node not to have a live value in a predecessor
as long as the end of the predecessor is jointly dominated by an undef
value.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335607 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LiveIntervals.h
lib/CodeGen/LiveIntervals.cpp
lib/CodeGen/LiveRangeCalc.cpp
lib/CodeGen/LiveRangeCalc.h
test/CodeGen/AMDGPU/subreg-split-live-in-error.mir [new file with mode: 0644]