diff options
author | Colin LeMahieu <colinl@codeaurora.org> | 2015-10-17 01:33:04 +0000 |
---|---|---|
committer | Colin LeMahieu <colinl@codeaurora.org> | 2015-10-17 01:33:04 +0000 |
commit | 7c9587136d4b1942225860bf70a6db2ba54c08c4 (patch) | |
tree | b664d0a6ac43258e2d54296c57c5aab7f464555b /llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp | |
parent | e0ee1e1cd6aa424977196a1052af08ed17950820 (diff) | |
download | bcm5719-llvm-7c9587136d4b1942225860bf70a6db2ba54c08c4.tar.gz bcm5719-llvm-7c9587136d4b1942225860bf70a6db2ba54c08c4.zip |
[Hexagon] Adding skeleton of HVX extension instructions.
llvm-svn: 250600
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp')
-rw-r--r-- | llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp b/llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp index a3548630ca3..8f5e8ded1a5 100644 --- a/llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp +++ b/llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp @@ -66,6 +66,8 @@ HexagonRegisterInfo::getCallerSavedRegs(const MachineFunction *MF) const { switch (HST.getHexagonArchVersion()) { case HexagonSubtarget::V4: case HexagonSubtarget::V5: + case HexagonSubtarget::V55: + case HexagonSubtarget::V60: return CallerSavedRegsV4; } llvm_unreachable( @@ -84,6 +86,8 @@ HexagonRegisterInfo::getCalleeSavedRegs(const MachineFunction *MF) const { switch (MF->getSubtarget<HexagonSubtarget>().getHexagonArchVersion()) { case HexagonSubtarget::V4: case HexagonSubtarget::V5: + case HexagonSubtarget::V55: + case HexagonSubtarget::V60: return CalleeSavedRegsV3; } llvm_unreachable("Callee saved registers requested for unknown architecture " |