[PATCH] D125603: [ConstantRange] Improve the implementation of binaryAnd

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 17 00:53:24 PDT 2022


nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/unittests/IR/ConstantRangeTest.cpp:2563
+        return false; // Check correctness only.
+      });
+}
----------------
Pass CheckSingleElementsOnly instead, we want to guarantee that two single-element ranges are always precise.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125603/new/

https://reviews.llvm.org/D125603



More information about the llvm-commits mailing list