[llvm] [KnownBits] Remove `hasConflict()` assertions (PR #94568)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 7 08:04:57 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:
I will handle it in another pr.
https://github.com/llvm/llvm-project/pull/94568
More information about the llvm-commits
mailing list