Skip to content

Commit 598197b

Browse files
committed
test nits
1 parent aab3828 commit 598197b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

llvm/test/Transforms/ConstraintElimination/salvage-dbg-values-replaced-by-constant-2.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
; Check that checkAndReplaceCondition() salvages the debug value information after replacing
44
; the conditions (`%c.1` and `%t.2` in this test) with the speculated constants (GitHub Issue
55
; #135736).
6-
; In particular, the debug value record uses should not be replaced if they comes before the
6+
; In particular, the debug value record uses should not be replaced if they come before the
77
; context instrtuction (e.g., `%t.2` in this example).
88

99
declare void @llvm.assume(i1 noundef) #0

llvm/test/Transforms/ConstraintElimination/salvage-dbg-values-replaced-by-constant.ll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
; Check that checkAndReplaceCondition() salvages the debug value information after replacing
44
; the conditions (`%t.1` in this test) with the speculated constants (GitHub Issue #135736).
5-
; In particular, the debug value record uses are replaced if their `DFSNumIn`s and `DFSNumOut`s
6-
; on `DominatorTree` satisfy the contraint.
5+
; In particular, debug uses are replaced if the debug record is dominated by the condition fact.
76

87
define i1 @test_and_ule(i4 %x, i4 %y, i4 %z) !dbg !5 {
98
; CHECK-LABEL: define i1 @test_and_ule(

0 commit comments

Comments
 (0)