This patch attaches the source location of the insertion point to the localized instruction, if it comes from a different basic block. Preserving the original source location would create a misleading line table.
Cf. https://www.llvm.org/docs/HowToUpdateDebugInfo.html#when-to-drop-an-instruction-location
rdar://78489600