OSDN Git Service

Merge MRI::isPhysRegOrOverlapUsed() into isPhysRegUsed().
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 17 Oct 2012 18:44:18 +0000 (18:44 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 17 Oct 2012 18:44:18 +0000 (18:44 +0000)
commit9aa6e0a134358c681cc5918ec65b1ec9726b778e
treea738921c6cfaf78dabeffc56473fcab921ed1079
parent72d9bbf11793345bee97bfe97cf954b289b12064
Merge MRI::isPhysRegOrOverlapUsed() into isPhysRegUsed().

All callers of these functions really want the isPhysRegOrOverlapUsed()
functionality which also checks aliases. For historical reasons, targets
without register aliases were calling isPhysRegUsed() instead.

Change isPhysRegUsed() to also check aliases, and switch all
isPhysRegOrOverlapUsed() callers to isPhysRegUsed().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166117 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineRegisterInfo.h
lib/CodeGen/ExecutionDepsFix.cpp
lib/CodeGen/PrologEpilogInserter.cpp
lib/Target/ARM/ARMFrameLowering.cpp