[PATCH] D136285: Bad optimization with alloca and intrinsic function stackrestore

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 19 14:22:57 PDT 2022


efriedma added a comment.

See https://llvm.org/docs/LangRef.html#attr-inalloca ... but in this context, the important thing is just that inalloca allocas must always be treated as dynamic allocation.  isStaticAlloca() handles this for you.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136285



More information about the llvm-commits mailing list