[llvm] r279280 - [Hexagon] Fix a few omissions in HexagonInstrInfo
Krzysztof Parzyszek via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 19 10:20:58 PDT 2016
Author: kparzysz
Date: Fri Aug 19 12:20:57 2016
New Revision: 279280
URL: http://llvm.org/viewvc/llvm-project?rev=279280&view=rev
Log:
[Hexagon] Fix a few omissions in HexagonInstrInfo
Modified:
llvm/trunk/lib/Target/Hexagon/HexagonInstrInfo.cpp
Modified: llvm/trunk/lib/Target/Hexagon/HexagonInstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonInstrInfo.cpp?rev=279280&r1=279279&r2=279280&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/HexagonInstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/HexagonInstrInfo.cpp Fri Aug 19 12:20:57 2016
@@ -2133,6 +2133,7 @@ bool HexagonInstrInfo::isIndirectCall(co
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 HexagonInstrInf
// 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 HexagonIn
// 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;
More information about the llvm-commits
mailing list