Skip to content

Commit 71329a0

Browse files
committed
less terse comment
1 parent ce6eda8 commit 71329a0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

llvm/include/llvm/Transforms/Utils/ValueMapper.h

+4-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,10 @@ inline void RemapInstruction(Instruction *I, ValueToValueMapTy &VM,
291291
.remapInstruction(*I);
292292
}
293293

294-
/// Remap source atom. Called by RemapInstruction.
294+
/// Remap source location atom. Called by RemapInstruction. This updates the
295+
/// instruction's atom group number if it has been mapped (e.g. with
296+
/// llvm::mapAtomInstance), which is necessary to distinguish source code
297+
/// atoms on duplicated code paths.
295298
void RemapSourceAtom(Instruction *I, ValueToValueMapTy &VM);
296299

297300
/// Remap the Values used in the DbgRecord \a DR using the value map \a

0 commit comments

Comments
 (0)