We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7946c39 commit 5ac8727Copy full SHA for 5ac8727
clang/lib/CodeGen/CGOpenCLRuntime.cpp
@@ -37,10 +37,6 @@ llvm::Type *CGOpenCLRuntime::convertOpenCLSpecificType(const Type *T) {
37
if (llvm::Type *TransTy = CGM.getTargetCodeGenInfo().getOpenCLType(CGM, T))
38
return TransTy;
39
40
- llvm::LLVMContext& Ctx = CGM.getLLVMContext();
41
- uint32_t AddrSpc = CGM.getContext().getTargetAddressSpace(
42
- CGM.getContext().getOpenCLTypeAddrSpace(T));
43
-
44
if (CGM.getTriple().isNVPTX()) {
45
switch (cast<BuiltinType>(T)->getKind()) {
46
default:
0 commit comments