[PATCH] D101725: [Verifier] Check that calls' arguments match the callee's byval/inalloca/preallocated
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun May 2 13:05:00 PDT 2021
aeubanks created this revision.
aeubanks added reviewers: dblaikie, rnk.
Herald added subscribers: dexonsmith, okura, kuter, pengfei, hiraditya.
aeubanks requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: sstefan1.
Herald added a reviewer: baziotis.
Herald added subscribers: llvm-commits, bbn.
Herald added a project: LLVM.
Previously we only checked this if the arguments had the attributes, but
not if the callee had the attributes.
As examples, there are a number of tests missing attributes on calls.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D101725
Files:
llvm/lib/IR/Verifier.cpp
llvm/test/CodeGen/X86/movtopush.ll
llvm/test/Transforms/ArgumentPromotion/dbg.ll
llvm/test/Transforms/ArgumentPromotion/fp80.ll
llvm/test/Transforms/Attributor/ArgumentPromotion/dbg.ll
llvm/test/Transforms/Attributor/ArgumentPromotion/fp80.ll
llvm/test/Transforms/Attributor/readattrs.ll
llvm/test/Transforms/Attributor/value-simplify.ll
llvm/test/Transforms/TailCallElim/basic.ll
llvm/test/Verifier/indirect-attrs.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101725.342263.patch
Type: text/x-patch
Size: 13710 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210502/b00bb373/attachment.bin>
More information about the llvm-commits
mailing list