[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 08:49:50 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:

Ah, I didn't spot this was outside the AArch64 backend, but yes, you could make it virtual or allow registering a `std::function/llvm::function_ref` callback to filter registers. 

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


More information about the llvm-commits mailing list