Skip to content

Commit 6679ac2

Browse files
uwedolinskyKornevNikita
authored andcommitted
[SYCL][NATIVECPU] fixed module flag (#16711)
Added missing assignment.
1 parent 9687090 commit 6679ac2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/SYCLNativeCPUUtils/FAtomicsNativeCPU.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ PreservedAnalyses FAtomicsNativeCPU::run(Module &M,
3737
continue;
3838
}
3939

40+
ModuleChanged = true;
4041
BasicBlock *BB = BasicBlock::Create(Ctx, "entry", &F);
4142
IRBuilder<> Builder(BB);
4243
// Currently we drop arguments 1 and 2 (scope and memory ordering),

0 commit comments

Comments
 (0)