[all-commits] [llvm/llvm-project] ecbf32: [AArch64] Async unwind - Adjust unwind info in AAr...
Momchil Velikov via All-commits
all-commits at lists.llvm.org
Wed Apr 13 09:25:44 PDT 2022
Author: Momchil Velikov <momchil.velikov at arm.com>
Date: 2022-04-13 (Wed, 13 Apr 2022)
[AArch64] Async unwind - Adjust unwind info in AArch64LoadStoreOptimizer
The AArch64LoadStoreOptimnizer pass may merge a register
increment/decrement with a following memory operation. In doing so, it
may break CFI by moving a stack pointer adjustment past the CFI
instruction that described *that* adjustment.
This patch fixes this issue by moving said CFI instruction after the
merged instruction, where the SP increment/decrement actually takes
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D114547
More information about the All-commits