From 3951245c38ce2bcb4173a99d00278d704fcdeac1 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Fri, 8 Nov 2019 15:14:58 -0800 Subject: 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/test/DebugInfo/NVPTX/cu-range-hole.ll | 1 - llvm/test/DebugInfo/NVPTX/debug-addr-class.ll | 1 - llvm/test/DebugInfo/NVPTX/debug-file-loc.ll | 1 - llvm/test/DebugInfo/NVPTX/debug-info.ll | 1 - llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll | 1 - 5 files changed, 5 deletions(-) (limited to 'llvm/test/DebugInfo') 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: } -- cgit v1.2.3