mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-10 12:32:21 +00:00
[Hexagon] Fix a few omissions in HexagonInstrInfo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279280 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f5027c2a06
commit
40f2f0a8b7
@ -2133,6 +2133,7 @@ bool HexagonInstrInfo::isIndirectCall(const MachineInstr &MI) const {
|
||||
case Hexagon::J2_callr :
|
||||
case Hexagon::J2_callrf :
|
||||
case Hexagon::J2_callrt :
|
||||
case Hexagon::PS_call_nr :
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
@ -3381,6 +3382,7 @@ HexagonII::CompoundGroup HexagonInstrInfo::getCompoundCandidateGroup(
|
||||
// Do not test for jump range here.
|
||||
case Hexagon::J2_jump:
|
||||
case Hexagon::RESTORE_DEALLOC_RET_JMP_V4:
|
||||
case Hexagon::RESTORE_DEALLOC_RET_JMP_V4_PIC:
|
||||
return HexagonII::HCG_C;
|
||||
break;
|
||||
}
|
||||
@ -3709,6 +3711,7 @@ HexagonII::SubInstructionGroup HexagonInstrInfo::getDuplexCandidateGroup(
|
||||
// dealloc_return is not documented in Hexagon Manual, but marked
|
||||
// with A_SUBINSN attribute in iset_v4classic.py.
|
||||
case Hexagon::RESTORE_DEALLOC_RET_JMP_V4:
|
||||
case Hexagon::RESTORE_DEALLOC_RET_JMP_V4_PIC:
|
||||
case Hexagon::L4_return:
|
||||
case Hexagon::L2_deallocframe:
|
||||
return HexagonII::HSIG_L2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user