[PATCH] D112326: [AArch64] Async unwind - do not schedule frame setup/destroy

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 24 11:48:58 PST 2021


efriedma added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64InstrInfo.cpp:1113
+          TFI.hasFP(MF) && MI.modifiesRegister(AArch64::FP) &&
+          MF.getFunction().needsUnwindTableEntry());
 }
----------------
Not sure I understand the logic here.  Can we just make CFI directives a scheduling barrier, like we do for SEH directives?  Why are instructions that modify the frame pointer special?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112326/new/

https://reviews.llvm.org/D112326



More information about the llvm-commits mailing list