[llvm] r244383 - AMDGPU/SI: Another attempt to fix Windows bots broken by r244372
Tom Stellard via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 7 18:11:07 PDT 2015
Author: tstellar
Date: Fri Aug 7 20:11:07 2015
New Revision: 244383
URL: http://llvm.org/viewvc/llvm-project?rev=244383&view=rev
Log:
AMDGPU/SI: Another attempt to fix Windows bots broken by r244372
Modified:
llvm/trunk/lib/Target/AMDGPU/AMDGPUOpenCLImageTypeLoweringPass.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/AMDGPUOpenCLImageTypeLoweringPass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/AMDGPUOpenCLImageTypeLoweringPass.cpp?rev=244383&r1=244382&r2=244383&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/AMDGPUOpenCLImageTypeLoweringPass.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/AMDGPUOpenCLImageTypeLoweringPass.cpp Fri Aug 7 20:11:07 2015
@@ -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<Metadata *, 8> MDVector;
struct KernelArgMD {
More information about the llvm-commits
mailing list