[llvm] [KnownBits] Remove `hasConflict()` assertions (PR #94568)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 8 02:55:45 PDT 2024
================
@@ -38,8 +38,10 @@ static void TestBinOpExhaustive(Fn1 PropagateFn, Fn2 EvalFn) {
APInt AB1R = PropagateFn(0, AOut, Known1Redacted, Known2Redacted);
APInt AB2R = PropagateFn(1, AOut, Known1Redacted, Known2Redacted);
- EXPECT_EQ(AB1, AB1R);
- EXPECT_EQ(AB2, AB2R);
+ if (!Known1Redacted.hasConflict() && !Known2Redacted.hasConflict()) {
----------------
c8ef wrote:
Confirm it is still needed.
https://github.com/llvm/llvm-project/pull/94568
More information about the llvm-commits
mailing list