[PATCH] D79482: Fix stack clash probing on the tail of dynamic allocation

serge via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 12 03:11:26 PDT 2020


serge-sans-paille updated this revision to Diff 263389.
serge-sans-paille added a comment.

Rework and improve the patch:

- more documentation
- more assert
- slight update of the way static alloca are probed, leads to slightly smaller code
- completely rework the way dynamic alloca are probed, which leads to smaller and cleaner assembly. As a side effect it also probes the tail.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79482

Files:
  llvm/lib/Target/X86/X86FrameLowering.cpp
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/stack-clash-dynamic-alloca.ll
  llvm/test/CodeGen/X86/stack-clash-large.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79482.263389.patch
Type: text/x-patch
Size: 8728 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200512/161304f6/attachment.bin>


More information about the llvm-commits mailing list