aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorMichael Liao <michael.hliao@gmail.com>2020-03-26 11:21:45 -0400
committerMichael Liao <michael.hliao@gmail.com>2020-04-07 09:51:49 -0400
commitc97be2c377852fad7eb38409aae5692fa417e49b (patch)
tree2090f36eae230534061a1a5b3dcb6a43fdbfef31 /clang/lib/CodeGen/CodeGenModule.h
parente3b60597769f79a8abc19fb8ef1f321d9adc1358 (diff)
downloadllvm-c97be2c377852fad7eb38409aae5692fa417e49b.zip
llvm-c97be2c377852fad7eb38409aae5692fa417e49b.tar.gz
llvm-c97be2c377852fad7eb38409aae5692fa417e49b.tar.bz2
[hip] Remove `hip_pinned_shadow`.
Summary: - Use `device_builtin_surface` and `device_builtin_texture` for surface/texture reference support. So far, both the host and device use the same reference type, which could be revised later when interface/implementation is stablized. Reviewers: yaxunl Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D77583
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index dc2c61b..a84c5bd 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -1037,7 +1037,7 @@ public:
void MaybeHandleStaticInExternC(const SomeDecl *D, llvm::GlobalValue *GV);
/// Add a global to a list to be added to the llvm.used metadata.
- void addUsedGlobal(llvm::GlobalValue *GV, bool SkipCheck = false);
+ void addUsedGlobal(llvm::GlobalValue *GV);
/// Add a global to a list to be added to the llvm.compiler.used metadata.
void addCompilerUsedGlobal(llvm::GlobalValue *GV);