diff options
author | Momchil Velikov <momchil.velikov@arm.com> | 2022-04-13 16:21:33 +0100 |
---|---|---|
committer | Momchil Velikov <momchil.velikov@arm.com> | 2022-04-13 17:04:53 +0100 |
commit | ecbf32dd88fc91b4fe709dc14bb3493dda6e8854 (patch) | |
tree | a1c5d19914d5980f0596f636d8e4772fc7d0d1fd /llvm/lib/Analysis/ValueTracking.cpp | |
parent | 201c4b9cc4a649e4a54b418749ab5b8bd227e4f0 (diff) | |
download | llvm-ecbf32dd88fc91b4fe709dc14bb3493dda6e8854.zip llvm-ecbf32dd88fc91b4fe709dc14bb3493dda6e8854.tar.gz llvm-ecbf32dd88fc91b4fe709dc14bb3493dda6e8854.tar.bz2 |
[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
place.
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D114547
Diffstat (limited to 'llvm/lib/Analysis/ValueTracking.cpp')
0 files changed, 0 insertions, 0 deletions