Skip to content

Commit d636cf8

Browse files
committed
rebase
1 parent 2e527e4 commit d636cf8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/lib/CodeGen/CGAtomic.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,8 @@ if (ExpectedSizeInBytes == Size) {
428428
Address OldTmp = CGF.CreateTempAlloca(OldType, Ptr.getAlignment(), "old.tmp");
429429

430430
// Store Old into this temporary
431-
CGF.Builder.CreateStore(Old, OldTmp);
431+
auto *I = CGF.Builder.CreateStore(Old, OldTmp);
432+
CGF.addInstToCurrentSourceAtom(I, Old);
432433

433434
// Perform memcpy for first ExpectedSizeInBytes bytes
434435
CGF.Builder.CreateMemCpy(

0 commit comments

Comments
 (0)