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)
commit6a57fd8b47dc15c4df02f8acb7cdb2034b3f1527
tree2c58e4b33b93a01ba58079400112d3215abd0553
parent310f761a42e3aa3c432e98df4ddb65470019bd65
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.

llvm-svn: 209331
llvm/lib/Target/R600/AMDGPUISelLowering.cpp
llvm/test/CodeGen/R600/gv-const-addrspace-fail.ll
llvm/test/CodeGen/R600/gv-const-addrspace.ll