[Mlir-commits] [clang] [flang] [lldb] [llvm] [mlir] [NFC] Silence -Wbool-integral-comparison warnings across LLVM (PR #195246)

Matt Arsenault llvmlistbot at llvm.org
Fri May 1 03:20:52 PDT 2026


================
@@ -66,13 +66,13 @@ static void TestVsNative(__uint128_t x, __uint128_t y) {
   TEST(ToNative(n) == y);
   TEST(ToNative(~m) == ~x);
   TEST(ToNative(-m) == -x);
-  TEST(ToNative(!m) == !x);
-  TEST(ToNative(m < n) == (x < y));
-  TEST(ToNative(m <= n) == (x <= y));
-  TEST(ToNative(m == n) == (x == y));
-  TEST(ToNative(m != n) == (x != y));
-  TEST(ToNative(m >= n) == (x >= y));
-  TEST(ToNative(m > n) == (x > y));
+  TEST(!m == !x);
----------------
arsenm wrote:

Presumably this test is supposed to testing ToNative, but this has lost all of the calls to it 

https://github.com/llvm/llvm-project/pull/195246


More information about the Mlir-commits mailing list