[ConstraintElim] Add uses to remark tests to make it more robust.
authorFlorian Hahn <flo@fhahn.com>
Sun, 25 Jun 2023 15:58:44 +0000 (16:58 +0100)
committerFlorian Hahn <flo@fhahn.com>
Sun, 25 Jun 2023 15:58:44 +0000 (16:58 +0100)
Add uses of conditions, so the test keeps testing what it is meant to
test after D153660.

llvm/test/Transforms/ConstraintElimination/reproducer-remarks.ll

index adcbeb6..9f8ae38 100644 (file)
@@ -195,6 +195,7 @@ entry:
 
 then:
   %c.2 = icmp ugt i32 0, 0
+  call void @use(i1 %c.2)
   br label %exit
 
 exit:
@@ -227,6 +228,7 @@ lpad:
 
 then:
   %c.2 = icmp eq i32 0, 0
+  call void @use(i1 %c.2)
   br label %exit
 
 exit: