From: Krzysztof Parzyszek Date: Mon, 11 Jan 2016 15:47:41 +0000 (+0000) Subject: [Hexagon] Mark D14 and GP as reserved registers X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=98b55cb591cb07350dc2f699c1dc2f39425cd003;p=oota-llvm.git [Hexagon] Mark D14 and GP as reserved registers git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257336 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Hexagon/HexagonRegisterInfo.cpp b/lib/Target/Hexagon/HexagonRegisterInfo.cpp index 61c0589fb5b..6e5f7324aca 100644 --- a/lib/Target/Hexagon/HexagonRegisterInfo.cpp +++ b/lib/Target/Hexagon/HexagonRegisterInfo.cpp @@ -103,6 +103,8 @@ BitVector HexagonRegisterInfo::getReservedRegs(const MachineFunction &MF) 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);