aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorVyacheslav Levytskyy <89994100+VyacheslavLevytskyy@users.noreply.github.com>2024-02-27 10:58:45 +0100
committerGitHub <noreply@github.com>2024-02-27 10:58:45 +0100
commitada70f50a5591839d0c81a167ca64ce98ab2d088 (patch)
tree6a5191bdfb777f3ac04c0645ef8b03b78e4e4df7 /llvm/lib/IR/Module.cpp
parent9796b0e9f91bc8ff00d2616fa3656e1ca848c05c (diff)
downloadllvm-ada70f50a5591839d0c81a167ca64ce98ab2d088.zip
llvm-ada70f50a5591839d0c81a167ca64ce98ab2d088.tar.gz
llvm-ada70f50a5591839d0c81a167ca64ce98ab2d088.tar.bz2
[SPIR-V]: add SPIR-V extension: SPV_INTEL_variable_length_array (#83002)
This PR adds SPIR-V extension SPV_INTEL_variable_length_array that allows to allocate local arrays whose number of elements is unknown at compile time: * add a new SPIR-V internal intrinsic:int_spv_alloca_array * legalize G_STACKSAVE and G_STACKRESTORE * implement allocation of arrays (previously getArraySize() of AllocaInst was not used) * add tests
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions