Skip to content

Commit

Permalink
fix sycl-host-access
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanZyne committed Nov 14, 2024
1 parent 9a64792 commit 6d605ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/SYCLLowerIR/AsanKernelMetadata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ PreservedAnalyses AsanKernelMetadataPass::run(Module &M,
MD.push_back(ConstantAsMetadata::get(
Constant::getIntegerValue(Ty, APInt(32, SPIRV_HOST_ACCESS_DECOR))));
MD.push_back(
ConstantAsMetadata::get(Constant::getIntegerValue(Ty, APInt(32, 2))));
ConstantAsMetadata::get(Constant::getIntegerValue(Ty, APInt(32, 0))));
MD.push_back(MDString::get(Ctx, "_Z20__AsanKernelMetadata"));

MDOps.push_back(MDNode::get(Ctx, MD));
Expand Down

0 comments on commit 6d605ae

Please sign in to comment.