[llvm] [LiveRegUnits] Enhanced the register liveness check (PR #66061)

via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 18 06:09:59 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 {
----------------
qcolombet wrote:

+1 on keeping `available`

https://github.com/llvm/llvm-project/pull/66061


More information about the llvm-commits mailing list