r298773 - [AMDGPU] Make AMDGPUTargetInfo::AS private
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 25 04:34:42 PDT 2017
Author: yaxunl
Date: Sat Mar 25 06:34:41 2017
New Revision: 298773
URL: http://llvm.org/viewvc/llvm-project?rev=298773&view=rev
Log:
[AMDGPU] Make AMDGPUTargetInfo::AS private
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=298773&r1=298772&r2=298773&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Sat Mar 25 06:34:41 2017
@@ -2110,6 +2110,7 @@ class AMDGPUTargetInfo final : public Ta
bool hasFMAF:1;
bool hasLDEXPF:1;
bool hasFullSpeedFP32Denorms:1;
+ const AddrSpace AS;
static bool isAMDGCN(const llvm::Triple &TT) {
return TT.getArch() == llvm::Triple::amdgcn;
@@ -2371,8 +2372,6 @@ public:
uint64_t getNullPointerValue(unsigned AS) const override {
return AS == LangAS::opencl_local ? ~0 : 0;
}
-
- const AddrSpace AS;
};
const Builtin::Info AMDGPUTargetInfo::BuiltinInfo[] = {
More information about the cfe-commits
mailing list