================
@@ -206,6 +206,8 @@ BitVector HexagonRegisterInfo::getReservedRegs(const
MachineFunction &MF)
Reserved.set(Reg);
static const MCPhysReg RRegs[] = {
+ Hexagon::R6, Hexagon::R7, Hexagon::R8, Hexagon::R9, Hexagon::R10,
----------------
quic-santdas wrote:
The responsibility of reserving the register lies with the user, as stated in
the commit message. I hope when the user types "-ffixed-r6" he/she knows what
they are doing. However, it is a good idea to warn this to the user that they
are using a caller saved register. Let me push a patch with the warning.
https://github.com/llvm/llvm-project/pull/205733
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits