OSDN Git Service

AMDGPU/SI: Add d16 support for image intrinsics.
authorChangpeng Fang <changpeng.fang@gmail.com>
Thu, 18 Jan 2018 22:08:53 +0000 (22:08 +0000)
committerChangpeng Fang <changpeng.fang@gmail.com>
Thu, 18 Jan 2018 22:08:53 +0000 (22:08 +0000)
commit1e426c2a34d5190ff9f144f009ef6287feb3bbcc
treef81cc9fefc5f844d140757c36c103426dc093af6
parent31e026c61884abed7ff0bea5b2af0c0a04a2bdad
AMDGPU/SI: Add d16 support for image intrinsics.

Summary:
  This patch implements d16 support for image load, image store and image sample intrinsics.

Reviewers:
  Matt, Brian.

Differential Revision:
  https://reviews.llvm.org/D3991

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@322903 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
lib/Target/AMDGPU/AMDGPUISelLowering.h
lib/Target/AMDGPU/MIMGInstructions.td
lib/Target/AMDGPU/SIDefines.h
lib/Target/AMDGPU/SIISelLowering.cpp
lib/Target/AMDGPU/SIInstrFormats.td
lib/Target/AMDGPU/SIInstrInfo.h
lib/Target/AMDGPU/SIInstrInfo.td
test/CodeGen/AMDGPU/llvm.amdgcn.image.d16.ll [new file with mode: 0644]
test/CodeGen/AMDGPU/llvm.amdgcn.image.gather4.d16.ll [new file with mode: 0644]
test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.d16.ll [new file with mode: 0644]