[llvm] Add ConstantRangeList::subtract(ConstantRange) (PR #97093)

Haopeng Liu via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 28 13:01:14 PDT 2024


================
@@ -72,6 +72,12 @@ class [[nodiscard]] ConstantRangeList {
                          APInt(64, Upper, /*isSigned=*/true)));
   }
 
+  void subtract(const ConstantRange &SubRange);
+  void subtract(int64_t Lower, int64_t Upper) {
----------------
haopliu wrote:

Make sense. Deleted the API.

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


More information about the llvm-commits mailing list