AMDGPU: Make v2i64/v2f64 legal types.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 25 Nov 2015 19:58:34 +0000 (19:58 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 25 Nov 2015 19:58:34 +0000 (19:58 +0000)
commitb617c550dc99d74eb0dcde814ce9bfbcfc2bdda9
treea9b4dad62e96e2c2618faef4fec0a958d32503b4
parent824e14ddab883edf9af866352bfe6b34577f2e2d
AMDGPU: Make v2i64/v2f64 legal types.

They can be loaded and stored, so count them as legal. This is
mostly to fix a number of common cases for load/store merging.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254086 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
lib/Target/AMDGPU/SIISelLowering.cpp
lib/Target/AMDGPU/SIInstructions.td
lib/Target/AMDGPU/SIRegisterInfo.td
test/CodeGen/AMDGPU/ds_read2_superreg.ll
test/CodeGen/AMDGPU/ds_write2.ll
test/CodeGen/AMDGPU/extract-vector-elt-i64.ll
test/CodeGen/AMDGPU/fadd64.ll
test/CodeGen/AMDGPU/global-extload-i32.ll
test/CodeGen/AMDGPU/half.ll
test/CodeGen/AMDGPU/insert_vector_elt.ll
test/CodeGen/AMDGPU/merge-stores.ll
test/CodeGen/AMDGPU/reorder-stores.ll