[llvm] 309fdbb - fix bot failure https://lab.llvm.org/buildbot/#/builders/38/builds/11709
Chen Zheng via llvm-commits
llvm-commits at lists.llvm.org
Tue May 9 20:06:51 PDT 2023
Author: Chen Zheng
Date: 2023-05-10T03:06:38Z
New Revision: 309fdbb49bc3780f7248440cc8467c486ab1dcca
URL: https://github.com/llvm/llvm-project/commit/309fdbb49bc3780f7248440cc8467c486ab1dcca
DIFF: https://github.com/llvm/llvm-project/commit/309fdbb49bc3780f7248440cc8467c486ab1dcca.diff
LOG: fix bot failure https://lab.llvm.org/buildbot/#/builders/38/builds/11709
Some generic cases have empty prologue on some platforms like hexagon,
but non empty prologue on some other platform like PPC.
Remove the checks for the optimized lines hit by D147506.
Added:
Modified:
llvm/test/DebugInfo/Generic/directives-only.ll
llvm/test/DebugInfo/Generic/extended-loc-directive.ll
llvm/test/DebugInfo/Generic/multiline.ll
Removed:
################################################################################
diff --git a/llvm/test/DebugInfo/Generic/directives-only.ll b/llvm/test/DebugInfo/Generic/directives-only.ll
index 3d57ef5b205d7..ff9393221e2fe 100644
--- a/llvm/test/DebugInfo/Generic/directives-only.ll
+++ b/llvm/test/DebugInfo/Generic/directives-only.ll
@@ -10,7 +10,6 @@
; CHECK: .file 1 "/tmp/dbginfo{{.*}}multiline.c"
-; CHECK: .loc 1 2 0
; CHECK: .loc 1 3 3
; CHECK: .loc 1 3 9
; CHECK: .loc 1 3 15
diff --git a/llvm/test/DebugInfo/Generic/extended-loc-directive.ll b/llvm/test/DebugInfo/Generic/extended-loc-directive.ll
index d4add869fb51c..901830d5d2e51 100644
--- a/llvm/test/DebugInfo/Generic/extended-loc-directive.ll
+++ b/llvm/test/DebugInfo/Generic/extended-loc-directive.ll
@@ -13,8 +13,6 @@
; }
-; CHECK: .loc 1 2 0{{$}}
-; CHECK-NOT: .loc{{ }}
; ENABLED: .loc 1 3 3 prologue_end{{$}}
; DISABLED: .loc 1 3 3{{$}}
; CHECK-NOT: .loc
diff --git a/llvm/test/DebugInfo/Generic/multiline.ll b/llvm/test/DebugInfo/Generic/multiline.ll
index 1d3098a1f2a4f..a5e02bbe15657 100644
--- a/llvm/test/DebugInfo/Generic/multiline.ll
+++ b/llvm/test/DebugInfo/Generic/multiline.ll
@@ -13,8 +13,6 @@
; }
-; CHECK: .loc 1 2 0{{$}}
-; CHECK-NOT: .loc{{ }}
; CHECK: .loc 1 3 3 prologue_end{{$}}
; CHECK-NOT: .loc
; CHECK: .loc 1 3 9 is_stmt 0{{$}}
@@ -31,8 +29,7 @@
; INT: {{^}}Address
; INT: -----
-; INT-NEXT: 2 0 1 0 0 is_stmt{{$}}
-; INT-NEXT: 3 3 1 0 0 is_stmt prologue_end{{$}}
+; INT: 3 3 1 0 0 is_stmt prologue_end{{$}}
; INT-NEXT: 3 9 1 0 0 {{$}}
; INT-NEXT: 3 15 1 0 0 {{$}}
; INT-NEXT: 4 3 1 0 0 is_stmt{{$}}
More information about the llvm-commits
mailing list