[PATCH] D83354: [Preallocated] Add @llvm.call.preallocated.teardown
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 7 16:04:37 PDT 2020
aeubanks created this revision.
aeubanks added reviewers: efriedma, hans.
Herald added subscribers: llvm-commits, jdoerfert, hiraditya.
Herald added a reviewer: jdoerfert.
Herald added a project: LLVM.
This cleans up the stack allocated by a @llvm.call.preallocated.setup.
Should either call the teardown or the preallocated call to clean up the
stack. Calling both is UB.
Add LangRef.
Add verifier check that the token argument is a @llvm.call.preallocated.setup.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D83354
Files:
llvm/docs/LangRef.rst
llvm/include/llvm/IR/Intrinsics.td
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: D83354.276251.patch
Type: text/x-patch
Size: 6934 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200707/8a1f8c65/attachment.bin>
More information about the llvm-commits
mailing list