================
@@ -205,8 +205,13 @@ BitVector HexagonRegisterInfo::getReservedRegs(const 
MachineFunction &MF)
   for (auto Reg : Hexagon_MC::GetVectRegRev())
     Reserved.set(Reg);
 
-  if (MF.getSubtarget<HexagonSubtarget>().hasReservedR19())
-    Reserved.set(Hexagon::R19);
+  static const MCPhysReg RRegs[] = {
----------------
quic-akaryaki wrote:

You can use Register here.

https://github.com/llvm/llvm-project/pull/197208
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to