From 1d688a9ed349598b28b7099264b8be5e250212fd Mon Sep 17 00:00:00 2001 From: Uwe Dolinsky Date: Tue, 21 Jan 2025 12:29:32 +0000 Subject: [PATCH] [SYCL][NATIVECPU] fixed module flag --- llvm/lib/SYCLNativeCPUUtils/FAtomicsNativeCPU.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/SYCLNativeCPUUtils/FAtomicsNativeCPU.cpp b/llvm/lib/SYCLNativeCPUUtils/FAtomicsNativeCPU.cpp index e9043e21ec338..a81a74d48f56a 100644 --- a/llvm/lib/SYCLNativeCPUUtils/FAtomicsNativeCPU.cpp +++ b/llvm/lib/SYCLNativeCPUUtils/FAtomicsNativeCPU.cpp @@ -37,6 +37,7 @@ PreservedAnalyses FAtomicsNativeCPU::run(Module &M, continue; } + ModuleChanged = true; BasicBlock *BB = BasicBlock::Create(Ctx, "entry", &F); IRBuilder<> Builder(BB); // Currently we drop arguments 1 and 2 (scope and memory ordering),