[PATCH] D101045: [IR][Verifier] Allow alloca outside alloca address space

Andy Wingo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 23 01:47:50 PDT 2021


wingo updated this revision to Diff 339939.
wingo added a comment.
Herald added a subscriber: jdoerfert.

Instead of globally relaxing the restriction on alloca address spaces,
allow targets to choose whether to impose the restriction via the
datalayout.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101045/new/

https://reviews.llvm.org/D101045

Files:
  llvm/docs/LangRef.rst
  llvm/include/llvm/IR/DataLayout.h
  llvm/lib/IR/DataLayout.cpp
  llvm/lib/IR/Verifier.cpp
  llvm/test/Verifier/alloca-alternate-addrspace-invalid-0.ll
  llvm/test/Verifier/alloca-alternate-addrspace-invalid-1.ll
  llvm/test/Verifier/alloca-alternate-addrspace-invalid-2.ll
  llvm/test/Verifier/alloca-alternate-addrspace-valid.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101045.339939.patch
Type: text/x-patch
Size: 7905 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210423/c958480b/attachment.bin>


More information about the llvm-commits mailing list