[llvm] [AArch64] Replace uses of AArch64::NoRegister with Register() or isValid() NFC (PR #220227)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 16 09:04:06 PDT 2026
================
@@ -121,8 +121,8 @@ enum LiveRegs : uint8_t {
/// Holds the virtual registers live physical registers have been saved to.
struct PhysRegSave {
LiveRegs PhysLiveRegs;
- Register StatusFlags = AArch64::NoRegister;
- Register X0Save = AArch64::NoRegister;
+ Register StatusFlags = Register();
----------------
topperc wrote:
`Register StatusFlags;` should call the default constructor;
https://github.com/llvm/llvm-project/pull/220227
More information about the llvm-commits
mailing list