aboutsummaryrefslogtreecommitdiff
path: root/clang/test/AST/ast-print-openacc-declare-construct.cpp
diff options
context:
space:
mode:
authorNathan Gauër <brioche@google.com>2025-03-04 10:30:46 +0100
committerGitHub <noreply@github.com>2025-03-04 10:30:46 +0100
commit7c8b1275bc87f6b5983788a6e603504725b490c9 (patch)
tree09074b1e7823a8b05ef7745b59877ae853ebc82b /clang/test/AST/ast-print-openacc-declare-construct.cpp
parent2bef21f24ba932a757a644470358c340f4bcd113 (diff)
downloadllvm-7c8b1275bc87f6b5983788a6e603504725b490c9.zip
llvm-7c8b1275bc87f6b5983788a6e603504725b490c9.tar.gz
llvm-7c8b1275bc87f6b5983788a6e603504725b490c9.tar.bz2
[SPIR-V] Add pass to remove spv_ptrcast intrinsics (#128896)
OpenCL is allowed to cast pointers, meaning they can resolve some type mismatches this way. In logical SPIR-V, those are restricted. This new pass legalizes such pointer cast when targeting logical SPIR-V. For now, this pass supports 3 cases we witnessed: - loading a vec3 from a vec4*. - loading a scalar from a vec*. - loading the 1st element of an array. --------- Co-authored-by: Steven Perron <stevenperron@google.com>
Diffstat (limited to 'clang/test/AST/ast-print-openacc-declare-construct.cpp')
0 files changed, 0 insertions, 0 deletions