[llvm] 3e4820b - [ConstraintElim] Add uses to remark tests to make it more robust.
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 25 08:58:51 PDT 2023
Author: Florian Hahn
Date: 2023-06-25T16:58:44+01:00
New Revision: 3e4820b91a3e2a43506f47478ced01a4d683b83a
URL: https://github.com/llvm/llvm-project/commit/3e4820b91a3e2a43506f47478ced01a4d683b83a
DIFF: https://github.com/llvm/llvm-project/commit/3e4820b91a3e2a43506f47478ced01a4d683b83a.diff
LOG: [ConstraintElim] Add uses to remark tests to make it more robust.
Add uses of conditions, so the test keeps testing what it is meant to
test after D153660.
Added:
Modified:
llvm/test/Transforms/ConstraintElimination/reproducer-remarks.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/ConstraintElimination/reproducer-remarks.ll b/llvm/test/Transforms/ConstraintElimination/reproducer-remarks.ll
index adcbeb6e1b1eb..9f8ae3825a8d8 100644
--- a/llvm/test/Transforms/ConstraintElimination/reproducer-remarks.ll
+++ b/llvm/test/Transforms/ConstraintElimination/reproducer-remarks.ll
@@ -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:
More information about the llvm-commits
mailing list