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 13d65a0 commit 9a21d42Copy full SHA for 9a21d42
clang/lib/CodeGen/CGDecl.cpp
@@ -2888,7 +2888,7 @@ void CodeGenModule::EmitOMPAllocateDecl(const OMPAllocateDecl *D) {
2888
2889
Entry->mutateType(PTy);
2890
llvm::Constant *NewPtrForOldDecl =
2891
- llvm::ConstantExpr::getPointerBitCastOrAddrSpaceCast(
+ llvm::ConstantExpr::getAddrSpaceCast(
2892
Entry, DummyGV->getType());
2893
2894
// Now we have a casted version of the changed global, the dummy can be
0 commit comments