[llvm] [AArch64] "Support" debug info for SVE types on Windows. (PR #147865)
Benjamin Maxwell via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 10 03:22:19 PDT 2025
================
@@ -353,6 +355,12 @@ class LLVM_ABI MCRegisterInfo {
L2CVRegs[LLVMReg] = CVReg;
}
+ void ignoreCVReg(MCRegister LLVMReg) { IgnoredCVRegs.insert(LLVMReg); }
+
+ bool isIgnoredCVReg(MCRegister LLVMReg) const {
+ return IgnoredCVRegs.contains(LLVMReg);
+ }
----------------
MacDue wrote:
I think you could skip the `DenseSet` and just do:
```suggestion
bool isIgnoredCVReg(MCRegister LLVMReg) const {
return (LLVMReg >= AArch64::Z0 && LLVMReg <= AArch64::Z31)
|| (LLVMReg >= AArch64::P0 && LLVMReg <= AArch64::P15);
}
```
https://github.com/llvm/llvm-project/pull/147865
More information about the llvm-commits
mailing list