R600/SI: Fix some cases for load / store of half
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 4 Jun 2015 16:00:27 +0000 (16:00 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 4 Jun 2015 16:00:27 +0000 (16:00 +0000)
commite0d4034b7645d3766c6bc5931b2093b88ebaeb24
tree5cea220a352ec1153dd17a51205babb75ef06deb
parentbebb0b5a34919d393c1d55d8e76580cbfe8d2895
R600/SI: Fix some cases for load / store of half

Mostly argument loads were producing broken zextloads
from an FP type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239049 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUISelLowering.cpp
lib/Target/R600/SIISelLowering.cpp
test/CodeGen/R600/half.ll
test/CodeGen/R600/trunc-store-f64-to-f16.ll [new file with mode: 0644]