[llvm] 355dab0 - [ConstraintSystem] Fix mislabeling in unittests (NFC)

Antonio Frighetto via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 21 03:55:42 PDT 2023


Author: Antonio Frighetto
Date: 2023-06-21T12:54:25+02:00
New Revision: 355dab0b5a9e464765b752e7f0ac53c24992cb4c

URL: https://github.com/llvm/llvm-project/commit/355dab0b5a9e464765b752e7f0ac53c24992cb4c
DIFF: https://github.com/llvm/llvm-project/commit/355dab0b5a9e464765b752e7f0ac53c24992cb4c.diff

LOG: [ConstraintSystem] Fix mislabeling in unittests (NFC)

Possible misleading comment has been addressed.

Added: 
    

Modified: 
    llvm/unittests/Analysis/ConstraintSystemTest.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/unittests/Analysis/ConstraintSystemTest.cpp b/llvm/unittests/Analysis/ConstraintSystemTest.cpp
index 337a111634186..febeb982c87af 100644
--- a/llvm/unittests/Analysis/ConstraintSystemTest.cpp
+++ b/llvm/unittests/Analysis/ConstraintSystemTest.cpp
@@ -40,7 +40,7 @@ TEST(ConstraintSolverTest, TestSolutionChecks) {
 
   {
     ConstraintSystem CS;
-    // x + y <= 10, 10 >= x, 10 >= y; does not have a solution.
+    // x + y <= 10, x >= 10, y >= 10; does not have a solution.
     CS.addVariableRow({10, 1, 1});
     CS.addVariableRow({-10, -1, 0});
     CS.addVariableRow({-10, 0, -1});


        


More information about the llvm-commits mailing list