[llvm] r278682 - AMDGPU: Update AMDGPURuntimeMetadata.h for enums of address space qualifiers
Yaxun Liu via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 15 09:54:25 PDT 2016
Author: yaxunl
Date: Mon Aug 15 11:54:25 2016
New Revision: 278682
URL: http://llvm.org/viewvc/llvm-project?rev=278682&view=rev
Log:
AMDGPU: Update AMDGPURuntimeMetadata.h for enums of address space qualifiers
Modified:
llvm/trunk/lib/Target/AMDGPU/AMDGPURuntimeMetadata.h
Modified: llvm/trunk/lib/Target/AMDGPU/AMDGPURuntimeMetadata.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/AMDGPURuntimeMetadata.h?rev=278682&r1=278681&r2=278682&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/AMDGPURuntimeMetadata.h (original)
+++ llvm/trunk/lib/Target/AMDGPU/AMDGPURuntimeMetadata.h Mon Aug 15 11:54:25 2016
@@ -131,6 +131,13 @@ namespace RuntimeMD {
WriteOnly = 2,
ReadWrite = 3,
};
+
+ enum AddressSpaceQualifer : uint8_t {
+ Private = 0,
+ Global = 1,
+ Constant = 2,
+ Local = 3,
+ };
} // namespace KernelArg
} // namespace RuntimeMD
} // namespace AMDGPU
More information about the llvm-commits
mailing list