R600: Correctly set the src value offset for scalarized kernel args
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 13 Aug 2014 18:14:11 +0000 (18:14 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 13 Aug 2014 18:14:11 +0000 (18:14 +0000)
commitbd949eea85d485f5ec5917de0a3a9d7255568116
tree7988fde22750e72a0e211f1e782419a3c4ba0b72
parent00e08fcaa02286dd7da9cf9a8d158545532ab832
R600: Correctly set the src value offset for scalarized kernel args

This for some reason fixes v1i64 kernel arguments on pre-SI. This
currently breaks some other cases in the kernel-args.ll test for R600,
but I'm not particularly confident in the new output. VTX_READ_* are not
used for some of the scalarized cases, and the code reading from the
constant buffer doesn't make much sense to me.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215564 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/R600ISelLowering.cpp
test/CodeGen/R600/kernel-args.ll