[llvm] [SandboxVec][Interval] Implement getUnionInterval() and getSingleDiff() (PR #111455)
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 8 10:06:42 PDT 2024
================
@@ -176,6 +176,26 @@ template <typename T> class Interval {
Result.emplace_back(Intersection.To->getNextNode(), To);
return Result;
}
+ /// A difference that asserts that the result is a single interval.
----------------
aeubanks wrote:
this only asserts in asserts-enabled builds, perhaps drop the "that asserts"?
https://github.com/llvm/llvm-project/pull/111455
More information about the llvm-commits
mailing list