[Hexagon] Handle S2_storerf_io in HexagonInstrInfo

llvm-svn: 302036
This commit is contained in:
Krzysztof Parzyszek 2017-05-03 15:36:51 +00:00
parent 700a5f99c7
commit d10df49c90
1 changed files with 1 additions and 0 deletions

View File

@ -2697,6 +2697,7 @@ bool HexagonInstrInfo::isValidOffset(unsigned Opcode, int Offset,
case Hexagon::L2_loadrh_io:
case Hexagon::L2_loadruh_io:
case Hexagon::S2_storerh_io:
case Hexagon::S2_storerf_io:
return (Offset >= Hexagon_MEMH_OFFSET_MIN) &&
(Offset <= Hexagon_MEMH_OFFSET_MAX);