[PATCH] D80581: Modify verifier checks to support musttail + preallocated

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 26 13:05:42 PDT 2020


aeubanks created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
aeubanks added reviewers: efriedma, hans.

preallocated and musttail can work together, but we don't want to call
@llvm.call.preallocated.setup() to modify the stack in musttail calls.
So we shouldn't have the "preallocated" operand bundle when a
preallocated call is musttail.

Codegen not yet implemented.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80581

Files:
  llvm/docs/LangRef.rst
  llvm/lib/IR/Verifier.cpp
  llvm/test/Verifier/preallocated-invalid.ll
  llvm/test/Verifier/preallocated-valid.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80581.266300.patch
Type: text/x-patch
Size: 5698 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200526/67decac6/attachment.bin>


More information about the llvm-commits mailing list