summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/Targets.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2016-12-14 21:38:18 +0000
committerNico Weber <nicolasweber@gmx.de>2016-12-14 21:38:18 +0000
commit7849eeb0359e086870633437529c7f8a6a30a952 (patch)
treef6e8d655f9a1feba6677efeb815d749321625ee1 /clang/lib/Basic/Targets.cpp
parent65aedad62862a356c49fc5457277fb0c9cd3a75a (diff)
downloadbcm5719-llvm-7849eeb0359e086870633437529c7f8a6a30a952.tar.gz
bcm5719-llvm-7849eeb0359e086870633437529c7f8a6a30a952.zip
Revert 289252 (and follow-up 289285), it caused PR31374
llvm-svn: 289713
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
-rw-r--r--clang/lib/Basic/Targets.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp
index ee84089835b..91eabb36bd3 100644
--- a/clang/lib/Basic/Targets.cpp
+++ b/clang/lib/Basic/Targets.cpp
@@ -2245,13 +2245,6 @@ public:
return CCCR_OK;
}
}
-
- // In amdgcn target the null pointer in global, constant, and generic
- // address space has value 0 but in private and local address space has
- // value ~0.
- uint64_t getNullPointerValue(unsigned AS) const override {
- return AS != LangAS::opencl_local && AS != 0 ? 0 : ~0;
- }
};
const Builtin::Info AMDGPUTargetInfo::BuiltinInfo[] = {
OpenPOWER on IntegriCloud