Skip to content

Commit 131ba0a

Browse files
committed
Revert "[Clang][OpenMP] Clang adding the addrSpace according to DataLayout fix (#65483)"
This reverts commit e831a32.
1 parent 721b3d0 commit 131ba0a

File tree

2 files changed

+0
-298
lines changed

2 files changed

+0
-298
lines changed

clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3362,8 +3362,6 @@ Address CGOpenMPRuntimeGPU::getAddressOfLocalVariable(CodeGenFunction &CGF,
33623362
break;
33633363
case OMPAllocateDeclAttr::OMPLargeCapMemAlloc:
33643364
case OMPAllocateDeclAttr::OMPCGroupMemAlloc:
3365-
AS = getLangASFromTargetAS(
3366-
CGF.CGM.getModule().getDataLayout().getDefaultGlobalsAddressSpace());
33673365
break;
33683366
}
33693367
llvm::Type *VarTy = CGF.ConvertTypeForMem(VD->getType());

0 commit comments

Comments
 (0)