Skip to content

Commit 6d605ae

Browse files
committed
fix sycl-host-access
1 parent 9a64792 commit 6d605ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/SYCLLowerIR/AsanKernelMetadata.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ PreservedAnalyses AsanKernelMetadataPass::run(Module &M,
5050
MD.push_back(ConstantAsMetadata::get(
5151
Constant::getIntegerValue(Ty, APInt(32, SPIRV_HOST_ACCESS_DECOR))));
5252
MD.push_back(
53-
ConstantAsMetadata::get(Constant::getIntegerValue(Ty, APInt(32, 2))));
53+
ConstantAsMetadata::get(Constant::getIntegerValue(Ty, APInt(32, 0))));
5454
MD.push_back(MDString::get(Ctx, "_Z20__AsanKernelMetadata"));
5555

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

0 commit comments

Comments
 (0)