From 56697dd222fd099d6032b2fdd83577eb5ad9536f Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 8 Aug 2015 01:11:07 +0000 Subject: [PATCH] AMDGPU/SI: Another attempt to fix Windows bots broken by r244372 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244383 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/AMDGPU/AMDGPUOpenCLImageTypeLoweringPass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/AMDGPU/AMDGPUOpenCLImageTypeLoweringPass.cpp b/lib/Target/AMDGPU/AMDGPUOpenCLImageTypeLoweringPass.cpp index 30d8d2d8677..40b7936d663 100644 --- a/lib/Target/AMDGPU/AMDGPUOpenCLImageTypeLoweringPass.cpp +++ b/lib/Target/AMDGPU/AMDGPUOpenCLImageTypeLoweringPass.cpp @@ -54,7 +54,7 @@ StringRef KernelArgMDNodeNames[] = { "kernel_arg_type", "kernel_arg_base_type", "kernel_arg_type_qual"}; -const unsigned NumKernelArgMDNodes = array_lengthof(KernelArgMDNodeNames); +const unsigned NumKernelArgMDNodes = 5; typedef SmallVector MDVector; struct KernelArgMD { -- 2.34.1