[llvm] [LVI] Generalize mask not equal conditions handling (PR #92946)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 8 13:12:00 PDT 2024


================
@@ -2788,4 +2788,31 @@ TEST_F(ConstantRangeTest, isSizeLargerThan) {
   EXPECT_FALSE(One.isSizeLargerThan(1));
 }
 
+TEST_F(ConstantRangeTest, MakeMaskNotEqualRangeExhaustive) {
----------------
nikic wrote:

I'd suggest to also add one or two tests with explicit ranges (as we're not testing optimality).

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


More information about the llvm-commits mailing list