diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-02-17 02:08:58 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-02-17 02:08:58 +0000 |
commit | 6eab4044b9c79cda8226b60be0a8e9641c330f27 (patch) | |
tree | 24b2c2975f866d3b545a426328f3abb5732ffe7f /llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp | |
parent | 55875b99557d30e4aa75788ca8e7dd3089313580 (diff) | |
download | bcm5719-llvm-6eab4044b9c79cda8226b60be0a8e9641c330f27.tar.gz bcm5719-llvm-6eab4044b9c79cda8226b60be0a8e9641c330f27.zip |
Revert "[Hexagon] Start using regmasks on calls"
This reverts commit r295371.
It broke windows bots:
http://bb.pgr.jp/builders/ninja-clang-i686-msc19-R/builds/11402/steps/test-llvm/logs/stdio
llvm-svn: 295402
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp')
-rw-r--r-- | llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp b/llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp index a6af751d5f5..42568db4a13 100644 --- a/llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp +++ b/llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp @@ -36,9 +36,6 @@ #include "llvm/Target/TargetMachine.h" #include "llvm/Target/TargetOptions.h" -#define GET_REGINFO_TARGET_DESC -#include "HexagonGenRegisterInfo.inc" - using namespace llvm; HexagonRegisterInfo::HexagonRegisterInfo() @@ -137,12 +134,6 @@ HexagonRegisterInfo::getCalleeSavedRegs(const MachineFunction *MF) const { } -const uint32_t *HexagonRegisterInfo::getCallPreservedMask( - const MachineFunction &MF, CallingConv::ID) const { - return HexagonCSR_RegMask; -} - - BitVector HexagonRegisterInfo::getReservedRegs(const MachineFunction &MF) const { BitVector Reserved(getNumRegs()); @@ -293,3 +284,6 @@ unsigned HexagonRegisterInfo::getFirstCallerSavedNonParamReg() const { return Hexagon::R6; } + +#define GET_REGINFO_TARGET_DESC +#include "HexagonGenRegisterInfo.inc" |