aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
diff options
context:
space:
mode:
authorArtem Belevich <tra@google.com>2020-09-25 16:25:27 -0700
committerArtem Belevich <tra@google.com>2020-11-03 10:30:38 -0800
commitbe86b6773b6ba4d101a848e109540548181d2ed5 (patch)
tree6468f53f8c9a24d2319c6d8249135a41734d3515 /llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
parent59a6ab28c42bd0330232415178ed8cc97206a209 (diff)
downloadllvm-be86b6773b6ba4d101a848e109540548181d2ed5.zip
llvm-be86b6773b6ba4d101a848e109540548181d2ed5.tar.gz
llvm-be86b6773b6ba4d101a848e109540548181d2ed5.tar.bz2
[CUDA] Allow local static variables with target attributes.
While CUDA documentation claims that such variables are not allowed[1], NVCC has been accepting them since CUDA-10.0[2] and some headers in CUDA-11 rely on this working. 1. https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#static-variables-function 2. https://godbolt.org/z/zsodzc Differential Revision: https://reviews.llvm.org/D88345
Diffstat (limited to 'llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions