[llvm] Add ConstantRangeList::unionWith() and ::intersectWith() (PR #96547)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 24 14:45:12 PDT 2024


================
@@ -94,4 +94,122 @@ TEST_F(ConstantRangeListTest, Insert) {
   EXPECT_TRUE(CRL == Expected);
 }
 
+ConstantRangeList GetCRL(const SmallVector<std::pair<APInt, APInt>, 2> &Pairs) {
----------------
aeubanks wrote:

does ArrayRef work here?

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


More information about the llvm-commits mailing list