[PATCH] D16569: Emit line 0 line information for interesting 'orphan' instructions

Paul Robinson via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 27 10:06:47 PST 2016


probinson added a comment.

In http://reviews.llvm.org/D16569#337412, @probinson wrote:

> Second, I'd hope that the column number is irrelevant and so we shouldn't bother explicitly setting it to zero. That's probably something that would have to be handled where the line-table gets encoded, rather than here, and so can be deferred to a follow-up.


To quantify this, a quick experiment showed a line-0 directive occupied 5 bytes, of which 2 bytes were setting the column to zero.  Not setting the column reduces the size increase by 40%.


http://reviews.llvm.org/D16569





More information about the llvm-commits mailing list