[llvm] r257336 - [Hexagon] Mark D14 and GP as reserved registers

Krzysztof Parzyszek via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 11 07:47:41 PST 2016


Author: kparzysz
Date: Mon Jan 11 09:47:41 2016
New Revision: 257336

URL: http://llvm.org/viewvc/llvm-project?rev=257336&view=rev
Log:
[Hexagon] Mark D14 and GP as reserved registers

Modified:
    llvm/trunk/lib/Target/Hexagon/HexagonRegisterInfo.cpp

Modified: llvm/trunk/lib/Target/Hexagon/HexagonRegisterInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonRegisterInfo.cpp?rev=257336&r1=257335&r2=257336&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/HexagonRegisterInfo.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/HexagonRegisterInfo.cpp Mon Jan 11 09:47:41 2016
@@ -103,6 +103,8 @@ BitVector HexagonRegisterInfo::getReserv
   Reserved.set(Hexagon::R30);
   Reserved.set(Hexagon::R31);
   Reserved.set(Hexagon::PC);
+  Reserved.set(Hexagon::GP);
+  Reserved.set(Hexagon::D14);
   Reserved.set(Hexagon::D15);
   Reserved.set(Hexagon::LC0);
   Reserved.set(Hexagon::LC1);




More information about the llvm-commits mailing list