R600: Initialize AMDGPUMachineFunction::ShaderType to ShaderType::COMPUTE
authorTom Stellard <thomas.stellard@amd.com>
Fri, 26 Apr 2013 18:32:24 +0000 (18:32 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 26 Apr 2013 18:32:24 +0000 (18:32 +0000)
commit99d8179a9b99a6757381e12abdd5357eb537466f
tree78648d57f8cf0ed977f3cd45a101eea30408fad5
parent2cab9ba7b3a08360bc73543a057bc27980321bc6
R600: Initialize AMDGPUMachineFunction::ShaderType to ShaderType::COMPUTE

We need to intialize this to something and since clang does not set
the shader type attribute and clang is used only for compute shaders,
initializing it to COMPUTE seems like the best choice.

Reviewed-by: Christian König <christian.koenig@amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180620 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUMachineFunction.cpp
test/CodeGen/R600/elf.ll