Skip to content

Commit

Permalink
arch-riscv: Fix zero reg RegClass
Browse files Browse the repository at this point in the history
  • Loading branch information
notlqr committed Jun 18, 2024
1 parent 89e3f2b commit d97fe95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arch/riscv/regs/int.hh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ enum : RegIndex
};

inline constexpr RegId
Zero(IntRegClass, _ZeroIdx),
Zero(InvalidRegClass, _ZeroIdx),
Ra(IntRegClass, _RaIdx),
Sp(IntRegClass, _SpIdx),
Gp(IntRegClass, _GpIdx),
Expand Down

0 comments on commit d97fe95

Please sign in to comment.