[PATCH] D79593: Verifier: Check address space for byval on AMDGPU calling conventions

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 7 12:28:25 PDT 2020


arsenm created this revision.
arsenm added reviewers: nhaehnle, foad, rampitec.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.

Stack passed byval doesn't really make sense for entry points, but
other address spaces could. Local/region also should be rejected, but
we would need to move the address space enum out of the target
directory.


https://reviews.llvm.org/D79593

Files:
  llvm/lib/IR/Verifier.cpp
  llvm/test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ir-full-v3.ll
  llvm/test/Verifier/amdgpu-cc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79593.262721.patch
Type: text/x-patch
Size: 8675 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200507/d67daff9/attachment.bin>


More information about the llvm-commits mailing list