diff options
author | Michal Paszkowski <michal@paszkowski.org> | 2024-01-28 19:30:14 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-28 19:30:14 -0800 |
commit | 0fbaf03f703db2cb29d1bde23708b80db049164f (patch) | |
tree | 0844ec6a4244eb3ccd4178f2cc87d4fdccd17c04 /libcxx/src/filesystem/operations.cpp | |
parent | 07dfa61ace272fc5fc7f486cf42a3d603c8c21f5 (diff) | |
download | llvm-0fbaf03f703db2cb29d1bde23708b80db049164f.zip llvm-0fbaf03f703db2cb29d1bde23708b80db049164f.tar.gz llvm-0fbaf03f703db2cb29d1bde23708b80db049164f.tar.bz2 |
[SPIR-V] Cast ptr kernel args to i8* when used as Store's value operand (#78603)
Handle a special case when StoreInst's value operand is a kernel
argument of a pointer type. Since these arguments could have either a
basic element type (e.g. float*) or OpenCL builtin type (sampler_t),
bitcast the StoreInst's value operand to default pointer element type
(i8).
This pull request addresses the issue
https://github.com/llvm/llvm-project/issues/72864
Diffstat (limited to 'libcxx/src/filesystem/operations.cpp')
0 files changed, 0 insertions, 0 deletions