diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2020-07-26 19:36:28 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2020-07-26 19:36:28 +0000 |
commit | cfca06d7963fa0909f90483b42a6d7d194d01e08 (patch) | |
tree | 209fb2a2d68f8f277793fc8df46c753d31bc853b /llvm/lib/Target/Hexagon/HexagonVectorPrint.cpp | |
parent | 706b4fc47bbc608932d3b491ae19a3b9cde9497b (diff) |
Notes
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonVectorPrint.cpp')
-rw-r--r-- | llvm/lib/Target/Hexagon/HexagonVectorPrint.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonVectorPrint.cpp b/llvm/lib/Target/Hexagon/HexagonVectorPrint.cpp index 65a8dcd75bdc..fbc5e5c344ed 100644 --- a/llvm/lib/Target/Hexagon/HexagonVectorPrint.cpp +++ b/llvm/lib/Target/Hexagon/HexagonVectorPrint.cpp @@ -71,9 +71,10 @@ public: char HexagonVectorPrint::ID = 0; static bool isVecReg(unsigned Reg) { - return (Reg >= Hexagon::V0 && Reg <= Hexagon::V31) - || (Reg >= Hexagon::W0 && Reg <= Hexagon::W15) - || (Reg >= Hexagon::Q0 && Reg <= Hexagon::Q3); + return (Reg >= Hexagon::V0 && Reg <= Hexagon::V31) || + (Reg >= Hexagon::W0 && Reg <= Hexagon::W15) || + (Reg >= Hexagon::WR0 && Reg <= Hexagon::WR15) || + (Reg >= Hexagon::Q0 && Reg <= Hexagon::Q3); } static std::string getStringReg(unsigned R) { |