1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

[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 10bcabdc8d
commit da21246e0c

View File

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