R600/SI: Make more store operations legal
authorTom Stellard <thomas.stellard@amd.com>
Wed, 4 Feb 2015 20:49:51 +0000 (20:49 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 4 Feb 2015 20:49:51 +0000 (20:49 +0000)
commitfd4c349de20e2733284e4b61928c90245df8b1b5
tree04c31fd8667bbceafda1ade85f3af9fd59ab6f7e
parent056a34916a64cafea7a489e0301fd5dd0584b997
R600/SI: Make more store operations legal

v2i32, i32, trunc i32 to i16, and truc i32 to i8 stores are legal for
all address spaces.  We had marked them as custom in order to lower
them for the private address space, but this is no longer necessary.

This enables lowering of misaligned stores of these types in the
DAGLegalizer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228189 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUISelLowering.cpp
lib/Target/R600/SIISelLowering.cpp
test/CodeGen/R600/unaligned-load-store.ll