Skip to content

Commit

Permalink
[ConstraintElim] Improve debug test to show removed constraints (NFC).
Browse files Browse the repository at this point in the history
The current checks show incorrect debug output.
  • Loading branch information
fhahn committed Feb 10, 2023
1 parent 81a79ee commit 57606bb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions llvm/test/Transforms/ConstraintElimination/debug.ll
Expand Up @@ -16,6 +16,9 @@ define i1 @test_and_ule(i4 %x, i4 %y, i4 %z) {
; CHECK: Checking %t.1 = icmp ule i4 %x, %z
; CHECK: Condition %t.1 = icmp ule i4 %x, %z implied by dominating constraints

; CHECK: Removing %x + -1 * %y <= 0
; CHECK: Removing %x + -1 * %y <= 0

entry:
%c.1 = icmp ule i4 %x, %y
%c.2 = icmp ule i4 %y, %z
Expand Down

0 comments on commit 57606bb

Please sign in to comment.