]> granicus.if.org Git - llvm/commit
[AMDGPU] Kernel arg metadata: added support for "__hip_texture" type.
authorKonstantin Pyzhov <konstantin.pyzhov@gmail.com>
Wed, 3 Jul 2019 19:11:35 +0000 (19:11 +0000)
committerKonstantin Pyzhov <konstantin.pyzhov@gmail.com>
Wed, 3 Jul 2019 19:11:35 +0000 (19:11 +0000)
commit9a6b61c6ab46b7dd70f7ed506dfef5278a68a540
treebbcb5ea241ab067d9b9c1a5437afa37018b27076
parent51a505fe3020be81a075c8c026f12e1cca04fda3
[AMDGPU] Kernel arg metadata: added support for "__hip_texture" type.

Summary:
Hip texture type is equivalent to OpenCL image. So, we need to set the Image type for kernel arguments with __hip_texture type.

Differential revision: https://reviews.llvm.org/D63850

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365073 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ir-full-v3.ll
test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ir-full.ll