From 0739ccd3b588a6f2562bdc5a8f8847a49356394e Mon Sep 17 00:00:00 2001 From: Djordje Todorovic Date: Fri, 12 Jul 2019 09:45:12 +0000 Subject: Revert "[DwarfDebug] Dump call site debug info" A build failure was found on the SystemZ platform. This reverts commit 9e7e73578e54cd22b3c7af4b54274d743b6607cc. llvm-svn: 365886 --- llvm/lib/CodeGen/TargetRegisterInfo.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'llvm/lib/CodeGen/TargetRegisterInfo.cpp') 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"); } -- cgit v1.2.3