]> granicus.if.org Git - llvm/commit
[AMDGPU] Support for v3i32/v3f32
authorTim Renouf <tpr.llvm@botech.co.uk>
Thu, 21 Mar 2019 12:01:21 +0000 (12:01 +0000)
committerTim Renouf <tpr.llvm@botech.co.uk>
Thu, 21 Mar 2019 12:01:21 +0000 (12:01 +0000)
commita047778b62116290b2b567774077b8214284bb6c
tree900fa8d881cadf37b2dceb8f77a565eefc0ae36b
parent4d12ab485a42dfb7315be497f4295f948866d0ff
[AMDGPU] Support for v3i32/v3f32

Added support for dwordx3 for most load/store types, but not DS, and not
intrinsics yet.

SI (gfx6) does not have dwordx3 instructions, so they are not enabled
there.

Some of this patch is from Matt Arsenault, also of AMD.

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

Change-Id: I913ef54f1433a7149da8d72f4af54dbb13436bd9

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356659 91177308-0d34-0410-b5e6-96231b3b80d8
31 files changed:
lib/Target/AMDGPU/AMDGPUCallingConv.td
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
lib/Target/AMDGPU/AMDGPUISelLowering.h
lib/Target/AMDGPU/BUFInstructions.td
lib/Target/AMDGPU/FLATInstructions.td
lib/Target/AMDGPU/SIISelLowering.cpp
lib/Target/AMDGPU/SIInstrInfo.cpp
lib/Target/AMDGPU/SIInstructions.td
lib/Target/AMDGPU/SIRegisterInfo.cpp
lib/Target/AMDGPU/SIRegisterInfo.td
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
test/CodeGen/AMDGPU/call-return-types.ll
test/CodeGen/AMDGPU/early-if-convert-cost.ll
test/CodeGen/AMDGPU/early-if-convert.ll
test/CodeGen/AMDGPU/function-args.ll
test/CodeGen/AMDGPU/function-returns.ll
test/CodeGen/AMDGPU/half.ll
test/CodeGen/AMDGPU/idot4u.ll
test/CodeGen/AMDGPU/load-global-f32.ll
test/CodeGen/AMDGPU/load-global-i32.ll
test/CodeGen/AMDGPU/mad-mix-lo.ll
test/CodeGen/AMDGPU/merge-stores.ll
test/CodeGen/AMDGPU/multi-dword-vgpr-spill.ll [new file with mode: 0644]
test/CodeGen/AMDGPU/select-vectors.ll
test/CodeGen/AMDGPU/shader-addr64-nonuniform.ll
test/CodeGen/AMDGPU/sign_extend.ll
test/CodeGen/AMDGPU/spill-wide-sgpr.ll
test/CodeGen/AMDGPU/store-global.ll
test/CodeGen/AMDGPU/v_mac.ll
test/CodeGen/AMDGPU/vgpr-spill-emergency-stack-slot-compute.ll