summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetRegisterInfo.cpp
diff options
context:
space:
mode:
authorDjordje Todorovic <djordje.todorovic@rt-rk.com>2019-07-12 09:45:12 +0000
committerDjordje Todorovic <djordje.todorovic@rt-rk.com>2019-07-12 09:45:12 +0000
commit0739ccd3b588a6f2562bdc5a8f8847a49356394e (patch)
tree29ee68538b3ada08ad9dcf774d33a2ceb92121a4 /llvm/lib/CodeGen/TargetRegisterInfo.cpp
parent210a9b6aee625f5924281a8ee36036396fff1450 (diff)
downloadbcm5719-llvm-0739ccd3b588a6f2562bdc5a8f8847a49356394e.tar.gz
bcm5719-llvm-0739ccd3b588a6f2562bdc5a8f8847a49356394e.zip
Revert "[DwarfDebug] Dump call site debug info"
A build failure was found on the SystemZ platform. This reverts commit 9e7e73578e54cd22b3c7af4b54274d743b6607cc. llvm-svn: 365886
Diffstat (limited to 'llvm/lib/CodeGen/TargetRegisterInfo.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetRegisterInfo.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/llvm/lib/CodeGen/TargetRegisterInfo.cpp b/llvm/lib/CodeGen/TargetRegisterInfo.cpp
index b5a4419e6b8..f1b2ecf3243 100644
--- a/llvm/lib/CodeGen/TargetRegisterInfo.cpp
+++ b/llvm/lib/CodeGen/TargetRegisterInfo.cpp
@@ -433,20 +433,6 @@ TargetRegisterInfo::getRegAllocationHints(unsigned VirtReg,
return false;
}
-bool
-TargetRegisterInfo::isCallerPreservedPhysReg(unsigned PhysReg,
- const MachineFunction &MF) const {
- if (PhysReg == 0)
- return false;
- const uint32_t *callerPreservedRegs =
- getCallPreservedMask(MF, MF.getFunction().getCallingConv());
- if (callerPreservedRegs) {
- assert(isPhysicalRegister(PhysReg) && "Expected physical register");
- return (callerPreservedRegs[PhysReg / 32] >> PhysReg % 32) & 1;
- }
- return false;
-}
-
bool TargetRegisterInfo::canRealignStack(const MachineFunction &MF) const {
return !MF.getFunction().hasFnAttribute("no-realign-stack");
}
OpenPOWER on IntegriCloud