[llvm] [KnownBits] Remove `hasConflict()` assertions (PR #94568)
    via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sat Jun  8 03:51:52 PDT 2024
    
    
  
================
@@ -68,16 +68,16 @@ static void testUnaryOpExhaustive(StringRef Name, UnaryBitsFn BitsFn,
         }
       });
 
-      EXPECT_TRUE(!Computed.hasConflict());
-      EXPECT_TRUE(checkResult(Name, Exact, Computed, Known, CheckOptimality));
+      if (!Exact.hasConflict()) {
+        EXPECT_TRUE(checkResult(Name, Exact, Computed, Known, CheckOptimality));
+      }
     });
   }
 }
 
 static void testBinaryOpExhaustive(StringRef Name, BinaryBitsFn BitsFn,
                                    BinaryIntFn IntFn,
-                                   bool CheckOptimality = true,
-                                   bool RefinePoisonToZero = false) {
----------------
c8ef wrote:
#94848
https://github.com/llvm/llvm-project/pull/94568
    
    
More information about the llvm-commits
mailing list