RegisterPressure: Factor out liveness dead-def detection logic; NFCI
authorMatthias Braun <matze@braunis.de>
Thu, 10 Dec 2015 01:04:15 +0000 (01:04 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 10 Dec 2015 01:04:15 +0000 (01:04 +0000)
commita84e7b8f4d9f4f0278da9522937dac9dc2a5bd26
tree8419704850a22eef49eb7ecfe1f95d37a01523c4
parent338412765288cd6041d31db12f33a39fbad6efcb
RegisterPressure: Factor out liveness dead-def detection logic; NFCI

Detecting additional dead-defs without a dead flag that are only visible
through liveness information should be part of the register operand
collection not intertwined with the register pressure update logic.

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