summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorAndy Wingo <wingo@igalia.com>2021-04-23 09:24:17 +0200
committerAndy Wingo <wingo@igalia.com>2021-05-21 11:52:45 +0200
commit81bc732816107f6aff4fd61980f7b03cc92332b5 (patch)
tree7c6d8f9881be959fd81d83febba95da7f4a83b8d /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parenta1a429dc1d95112bc1122432d9b632512e1e636e (diff)
[IR][Verifier] Relax restriction on alloca address spaces
In the WebAssembly target, we would like to allow alloca in two address spaces. The alloca instruction already has an address space argument, but the verifier asserts that the address space of an alloca is the default alloca address space from the datalayout. This patch removes this restriction. Targets that would like to impose additional restrictions should do so via target-specific verification passes. Differential Revision: https://reviews.llvm.org/D101045
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions