[PATCH] D75755: [AArch64][Fix] LdSt optimization generate premature stack-popping

Diogo N. Sampaio via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 13 08:01:18 PDT 2020


dnsampaio updated this revision to Diff 250203.
dnsampaio added a comment.

- Do not allow a instruction that may load or store between the LdSt[SP] and the SP update.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75755

Files:
  llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
  llvm/test/CodeGen/AArch64/aarch64-ldst-no-premature-sp-pop.mir
  llvm/test/CodeGen/AArch64/arm64-nvcast.ll
  llvm/test/CodeGen/AArch64/arm64-windows-calls.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75755.250203.patch
Type: text/x-patch
Size: 9861 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200313/7e443bc8/attachment.bin>


More information about the llvm-commits mailing list