We should only skip lifetime and dbg intrinsics when searching for users.
Other intrinsics are legit users that can't be ignored.
Without this fix, the testcase would result in an invalid IR. memcpy will have a reference to the, now, external value (local to the extracted loop function).
Fix PR42194
Could you add a comment: // We don't model addresses with multiple start/end markers, but the markers do not need to be in the region.