Extended Description
Hi Hans,
Could you please cherry pick rG41206b61e30c into the release-10 branch. This cleanly cherry-picks and passes check-llvm on amd64 Ubuntu 18. The patch fixes a performance regression where in certain circumstances, debugging information could grow quadratically with the size of a basic block. This behaviour was introduced in llvm 9, it'd be great to fix it for llvm 10.