R600: Partially fix constant initializers for structs and vectors.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 21 May 2014 22:42:42 +0000 (22:42 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 21 May 2014 22:42:42 +0000 (22:42 +0000)
commitbd124c85eff93211873cb87191303f520b6dd659
treed86fb07cf5287ebbbaef65fb2d12c4527bc6747c
parent713096fb68aaf51447c6e4fd3c9e4cc60ec7e0ef
R600: Partially fix constant initializers for structs and vectors.

This should extend the current workaround to work with structs
that only contain legal, scalar types.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209331 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUISelLowering.cpp
test/CodeGen/R600/gv-const-addrspace-fail.ll
test/CodeGen/R600/gv-const-addrspace.ll