Skip to content

Conversation

@maarquitos14
Copy link
Contributor

Replace deprecated getPointerTo() with llvm::PointerType::get(LLVMContext).

@maarquitos14
Copy link
Contributor Author

@intel/dpcpp-tools-reviewers ping.

addStructArrayToModule(ArrayRef<Constant *> ArrayData, Type *ElemTy) {

auto *PtrTy = ElemTy->getPointerTo();
auto *PtrTy = llvm::PointerType::getUnqual(C);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can any part of this go upstream? or is it all sycl specific?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I know, ClangOffloadWrapper.cpp is not present upstream, is it?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh sorry i thought it was LinkerWrapper, my bad

@sarnex sarnex merged commit 1587ea5 into intel:sycl Dec 12, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants