[llvm] [LiveRegUnits] Enhanced the register liveness check (PR #66061)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 12 06:21:39 PDT 2023
================
@@ -112,13 +112,13 @@ class LiveRegUnits {
/// The regmask has the same format as the one in the RegMask machine operand.
void addRegsInMask(const uint32_t *RegMask);
- /// Returns true if no part of physical register \p Reg is live.
- bool available(MCPhysReg Reg) const {
----------------
arsenm wrote:
I think available should stay as it is here (with rename)? A separate helper can combine the isReserved check
https://github.com/llvm/llvm-project/pull/66061
More information about the llvm-commits
mailing list