Leave hasPHIKill flags alone in LiveInterval::RenumberValues.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 15 Sep 2011 04:37:18 +0000 (04:37 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 15 Sep 2011 04:37:18 +0000 (04:37 +0000)
commit573a32d4870ff4af7f59fc020caf07fb6ef61e37
tree42b2ee82d10f0eb07faec9f9de5e32282a141ec9
parentf59c532cfd2743b386b729244d3cb752ac55ab0b
Leave hasPHIKill flags alone in LiveInterval::RenumberValues.

It is conservatively correct to keep the hasPHIKill flags, even after
deleting PHI-defs.

The calculation can be very expensive after taildup has created a
quadratic number of indirectbr edges in the CFG, and the hasPHIKill flag
isn't used for anything after RenumberValues().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139780 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LiveInterval.h
lib/CodeGen/LiveInterval.cpp