summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2019-11-08 15:14:58 -0800
committerDavid Blaikie <dblaikie@gmail.com>2019-11-08 15:16:04 -0800
commit3951245c38ce2bcb4173a99d00278d704fcdeac1 (patch)
tree7707032ad8cee9dabc8b2c3cf3c5a3fa583d968d /llvm/lib/CodeGen
parent901cc4a4bc5257d100338e6c318b96b022d554ee (diff)
downloadbcm5719-llvm-3951245c38ce2bcb4173a99d00278d704fcdeac1.tar.gz
bcm5719-llvm-3951245c38ce2bcb4173a99d00278d704fcdeac1.zip
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.
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index 4cd30319aab..8a4b4599f92 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -1490,8 +1490,6 @@ bool AsmPrinter::doFinalization(Module &M) {
}
}
- OutStreamer->AddBlankLine();
-
// Print aliases in topological order, that is, for each alias a = b,
// b must be printed before a.
// This is because on some targets (e.g. PowerPC) linker expects aliases in
OpenPOWER on IntegriCloud