[llvm] [AArch64] Initial compiler support for SVE unwind on Windows. (PR #138609)

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Wed May 7 03:51:18 PDT 2025


================
@@ -6057,24 +6067,24 @@ void llvm::emitFrameOffset(MachineBasicBlock &MBB,
 
   assert(!(SetNZCV && (NumPredicateVectors || NumDataVectors)) &&
          "SetNZCV not supported with SVE vectors");
-  assert(!(NeedsWinCFI && (NumPredicateVectors || NumDataVectors)) &&
-         "WinCFI not supported with SVE vectors");
+  assert(!(NeedsWinCFI && NumPredicateVectors) &&
+         "WinCFI can't allocate fractions of an SVE data vector");
----------------
mstorsjo wrote:

Due to this limitation, the change below on lines 6085-6087 for passing `HasWinCFI` instead of `nullptr` is essentially impossible to ever be used, right? But it's of course good to pass `HasWinCFI` in both cases for consistency anyway.

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


More information about the llvm-commits mailing list