summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2015-12-02 18:35:23 +0000
committerTom Stellard <thomas.stellard@amd.com>2015-12-02 18:35:23 +0000
commite928533dae43a199476065b57b3c46632dbb6fd6 (patch)
treef05c82cac12adbfdccae8305812831194f5d4c9e
parente25b06fa233a81f216d9368ef0694c2fbbdad15f (diff)
downloadbcm5719-llvm-e928533dae43a199476065b57b3c46632dbb6fd6.tar.gz
bcm5719-llvm-e928533dae43a199476065b57b3c46632dbb6fd6.zip
AMDGPU: Fix msan test failure
llvm-svn: 254527
-rw-r--r--llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp b/llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp
index 21c7da66323..7c595d5a83e 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp
@@ -13,6 +13,7 @@ AMDGPUMachineFunction::AMDGPUMachineFunction(const MachineFunction &MF) :
MachineFunctionInfo(),
ShaderType(ShaderType::COMPUTE),
LDSSize(0),
+ ABIArgOffset(0),
ScratchSize(0),
IsKernel(true) {
Attribute A = MF.getFunction()->getFnAttribute(ShaderTypeAttribute);
OpenPOWER on IntegriCloud