AMDGPU: Fix msan test failure
authorTom Stellard <thomas.stellard@amd.com>
Wed, 2 Dec 2015 18:35:23 +0000 (18:35 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 2 Dec 2015 18:35:23 +0000 (18:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254527 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/AMDGPU/AMDGPUMachineFunction.cpp

index 21c7da6..7c595d5 100644 (file)
@@ -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);