Skip to content

Commit 1dc46d4

Browse files
authored
[RemoveDIs] Fix rotten --implicit-check-not lines (#144711)
1 parent ddecfa6 commit 1dc46d4

34 files changed

+34
-34
lines changed

llvm/test/CodeGen/Generic/MIRDebugify/locations-and-values.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# RUN: llc -run-pass=mir-debugify -o - %s | FileCheck --check-prefixes=ALL,VALUE %s
2-
# RUN: llc -run-pass=mir-debugify -debugify-level=locations -o - %s | FileCheck --check-prefixes=ALL --implicit-check-not=dbg.value %s
2+
# RUN: llc -run-pass=mir-debugify -debugify-level=locations -o - %s | FileCheck --check-prefixes=ALL --implicit-check-not=dbg_value %s
33
# RUN: llc -run-pass=mir-debugify,mir-strip-debug,mir-debugify -o - %s | FileCheck --check-prefixes=ALL,VALUE %s
44
# RUN: llc -run-pass=mir-debugify,mir-strip-debug -o - %s | FileCheck --check-prefix=STRIP %s
55

llvm/test/DebugInfo/Generic/assignment-tracking/codegenprepare/sunk-addr.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; REQUIRES: x86-registered-target
22
; RUN: llc -start-before=codegenprepare -stop-after=codegenprepare \
33
; RUN: -mtriple=x86_64-unknown-unknown %s -o - \
4-
; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg."
4+
; RUN: | FileCheck %s --implicit-check-not="#dbg_"
55

66
;; Check that when CodeGenPrepare moves an address computation to a block it's
77
;; used in its dbg.assign uses are updated.

llvm/test/DebugInfo/Generic/assignment-tracking/dse/dse-after-memcpyopt-merge.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt %s -S -passes=dse -o - | FileCheck %s --implicit-check-not="call void @llvm.dbg"
1+
; RUN: opt %s -S -passes=dse -o - | FileCheck %s --implicit-check-not="#dbg_"
22

33
;; Observed in the wild, but test is created by running memcpyopt on
44
;; assignment-tracking/memcpyopt/merge-stores.ll then manually inserting

llvm/test/DebugInfo/Generic/assignment-tracking/dse/shorten-offset.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt %s -S -passes=dse -o - | FileCheck %s --implicit-check-not="call void @llvm.dbg"
1+
; RUN: opt %s -S -passes=dse -o - | FileCheck %s --implicit-check-not="#dbg_"
22

33
;; Based on the test shorten.ll with some adjustments.
44
;;

llvm/test/DebugInfo/Generic/assignment-tracking/inline/shared-alloca.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; RUN: opt -S %s -passes=inline -o - \
2-
; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg"
2+
; RUN: | FileCheck %s --implicit-check-not="#dbg_"
33

44
;; The dbg.assign linked to the large alloca describes a variable sitting at
55
;; offset 0, size 64. Check:

llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/do-not-remove-redundant-dbg.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; RUN: opt -passes=instcombine -S %s -o - \
2-
; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg"
2+
; RUN: | FileCheck %s --implicit-check-not="#dbg_"
33

44
;; Based on the test remove-redundant-dbg.ll.
55
;;

llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/remove-redundant-dbg.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; RUN: opt -passes=sroa -S %s -o - \
2-
; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg"
2+
; RUN: | FileCheck %s --implicit-check-not="#dbg_"
33

44
;; Check that sroa removes redundant debug intrinsics after it makes a
55
;; change. This has a significant positive impact on peak memory and compiler

llvm/test/DebugInfo/Generic/assignment-tracking/loop-vectorize/remove-redundant-dbg.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; RUN: opt %s -passes=loop-vectorize -force-vector-width=2 -force-vector-interleave=2 -S -o - \
2-
; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg"
2+
; RUN: | FileCheck %s --implicit-check-not="#dbg_"
33

44
;; Check that loop-vectorize removes redundant debug intrinsics after it makes
55
;; a change. This has a significant positive impact on peak memory and compiler

llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/phi.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; RUN: opt -passes=mem2reg -S %s -o - \
2-
; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg"
2+
; RUN: | FileCheck %s --implicit-check-not="#dbg_"
33

44
;; Test assignment tracking debug info when mem2reg promotes an alloca with
55
;; stores requiring insertion of a phi. Check the output when the stores are

llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/single-block-alloca.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; RUN: opt -passes=mem2reg -S %s -o - \
2-
; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg"
2+
; RUN: | FileCheck %s --implicit-check-not="#dbg_"
33

44
;; Test assignment tracking debug info when mem2reg promotes a single-block
55
;; alloca. Check the output when the stores are tagged and also untagged (test

0 commit comments

Comments
 (0)