summaryrefslogtreecommitdiffstats
path: root/llvm/test
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/test
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/test')
-rw-r--r--llvm/test/DebugInfo/NVPTX/cu-range-hole.ll1
-rw-r--r--llvm/test/DebugInfo/NVPTX/debug-addr-class.ll1
-rw-r--r--llvm/test/DebugInfo/NVPTX/debug-file-loc.ll1
-rw-r--r--llvm/test/DebugInfo/NVPTX/debug-info.ll1
-rw-r--r--llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll1
5 files changed, 0 insertions, 5 deletions
diff --git a/llvm/test/DebugInfo/NVPTX/cu-range-hole.ll b/llvm/test/DebugInfo/NVPTX/cu-range-hole.ll
index 67dca931ca7..6849ffdc1e4 100644
--- a/llvm/test/DebugInfo/NVPTX/cu-range-hole.ll
+++ b/llvm/test/DebugInfo/NVPTX/cu-range-hole.ll
@@ -271,7 +271,6 @@ entry:
; CHECK-NEXT: }
; CHECK-NEXT: .section .debug_macinfo
; CHECK-NEXT: {
-; CHECK-EMPTY:
; CHECK-NEXT: }
attributes #0 = { nounwind uwtable "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" }
diff --git a/llvm/test/DebugInfo/NVPTX/debug-addr-class.ll b/llvm/test/DebugInfo/NVPTX/debug-addr-class.ll
index 2107e1cdc12..50bdc2af164 100644
--- a/llvm/test/DebugInfo/NVPTX/debug-addr-class.ll
+++ b/llvm/test/DebugInfo/NVPTX/debug-addr-class.ll
@@ -333,6 +333,5 @@ declare void @llvm.dbg.declare(metadata, metadata, metadata)
; CHECK-NEXT: }
; CHECK-NEXT: .section .debug_macinfo
; CHECK-NEXT: {
-; CHECK-EMPTY:
; CHECK-NEXT: }
diff --git a/llvm/test/DebugInfo/NVPTX/debug-file-loc.ll b/llvm/test/DebugInfo/NVPTX/debug-file-loc.ll
index b5fae18fbf7..124aaa097b4 100644
--- a/llvm/test/DebugInfo/NVPTX/debug-file-loc.ll
+++ b/llvm/test/DebugInfo/NVPTX/debug-file-loc.ll
@@ -88,7 +88,6 @@ bb:
; CHECK-NEXT: }
; CHECK-NEXT: .section .debug_macinfo
; CHECK-NEXT: {
-; CHECK-EMPTY:
; CHECK-NEXT: }
!llvm.dbg.cu = !{!0}
diff --git a/llvm/test/DebugInfo/NVPTX/debug-info.ll b/llvm/test/DebugInfo/NVPTX/debug-info.ll
index 00f96cfa8cf..85a73e5d197 100644
--- a/llvm/test/DebugInfo/NVPTX/debug-info.ll
+++ b/llvm/test/DebugInfo/NVPTX/debug-info.ll
@@ -8403,7 +8403,6 @@ if.end: ; preds = %if.then, %entry
; CHECK-NEXT: }
; CHECK-NEXT: .section .debug_macinfo
; CHECK-NEXT: {
-; CHECK-EMPTY:
; CHECK-NEXT: }
; Function Attrs: nounwind readnone
diff --git a/llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll b/llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll
index 6ee63fff7e1..cb18ffe64af 100644
--- a/llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll
+++ b/llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll
@@ -472,5 +472,4 @@ attributes #2 = { "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "n
; CHECK-NEXT: }
; CHECK-NEXT: .section .debug_macinfo
; CHECK-NEXT: {
-; CHECK-EMPTY:
; CHECK-NEXT: }
OpenPOWER on IntegriCloud