[PATCH] D88325: IR: Reject unsized sret in verifier
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 25 11:28:19 PDT 2020
arsenm created this revision.
arsenm added reviewers: jdoerfert, echristo, efriedma, rjmccall, aprantl, paquette, aemerson.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
The same is enforced for the other ABI pointer attributes.
Not sure why MemCpyOpt/memcpy.ll seems to have been testing for
exactly this with a referenced radar number, although I don't see how
that makes sense.
https://reviews.llvm.org/D88325
Files:
llvm/lib/IR/Value.cpp
llvm/lib/IR/Verifier.cpp
llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
llvm/test/Transforms/MemCpyOpt/memcpy.ll
llvm/test/Transforms/MergeFunc/apply_function_attributes.ll
llvm/test/Verifier/byref.ll
llvm/test/Verifier/sret.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88325.294375.patch
Type: text/x-patch
Size: 6724 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200925/c05424a3/attachment.bin>
More information about the llvm-commits
mailing list