NVPTX: Don't insert an extra empty line at the end of the last section.
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 8 Nov 2019 23:14:58 +0000 (15:14 -0800)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 8 Nov 2019 23:16:04 +0000 (15:16 -0800)
commit3951245c38ce2bcb4173a99d00278d704fcdeac1
tree7707032ad8cee9dabc8b2c3cf3c5a3fa583d968d
parent901cc4a4bc5257d100338e6c318b96b022d554ee
NVPTX: Don't insert an extra empty line at the end of the last section.

This was arbitrarily appearing in only the last section emitted - which
made tests more sensitive than they needed to be (removing the last
section - like the macinfo section change that's coming after this)
would, surprisingly, move the blank line to the previous section.
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/test/DebugInfo/NVPTX/cu-range-hole.ll
llvm/test/DebugInfo/NVPTX/debug-addr-class.ll
llvm/test/DebugInfo/NVPTX/debug-file-loc.ll
llvm/test/DebugInfo/NVPTX/debug-info.ll
llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll