[clang] [llvm] [AArch64][SME] Save VG for unwind info when changing streaming-mode (PR #83301)
Kerry McLaughlin via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 7 09:36:48 PDT 2024
================
@@ -8287,6 +8289,13 @@ AArch64TargetLowering::LowerCall(CallLoweringInfo &CLI,
SDValue InGlue;
if (RequiresSMChange) {
+
+ if (Subtarget->hasSVE()) {
----------------
kmclaughlin-arm wrote:
I've made changes to `needsAsyncDwarfUnwindInfo` in AArch64MachineFunctionInfo.cpp to always return true if the function has streaming-mode changes. I believe this will ensure we emit the correct information when `-fno-asynchronous-unwind-tables` is specified.
https://github.com/llvm/llvm-project/pull/83301
More information about the cfe-commits
mailing list