OSDN Git Service

LivePhysRegs: Skip reserved regs in computeLiveIns; NFCI
authorMatthias Braun <matze@braunis.de>
Fri, 26 May 2017 06:32:31 +0000 (06:32 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 26 May 2017 06:32:31 +0000 (06:32 +0000)
commitb0e29ac6a689c6551b2c9c854b95ebaf5f1a2c3a
tree7d90f3c87bab0b126b32f675b52fda398853caa5
parentd6cdc20e21c4ca0a0c9c80c1953784d41c930e2d
LivePhysRegs: Skip reserved regs in computeLiveIns; NFCI

Re-commit r303937 + r303949 as they were not the cause for the build
failures.

We do not track liveness of reserved registers so adding them to the
liveins list in computeLiveIns() was completely unnecessary.

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