[clang] [llvm] [AArch64][SME] Save VG for unwind info when changing streaming-mode (PR #83301)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Wed May 15 07:54:13 PDT 2024


================
@@ -8287,6 +8289,13 @@ AArch64TargetLowering::LowerCall(CallLoweringInfo &CLI,
 
   SDValue InGlue;
   if (RequiresSMChange) {
+
+    if (Subtarget->hasSVE()) {
----------------
sdesmalen-arm wrote:

I think we can only emit this pseudo when we have asynchronous unwind tables enabled. At the moment, when I compile some code with `-fno-asynchronous-unwind-tables`, it will still generate these directives. Perhaps this should have a diagnostic in Clang?

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


More information about the llvm-commits mailing list