From: Matt Arsenault Date: Sat, 21 Sep 2019 02:37:28 +0000 (+0000) Subject: LiveIntervals: Add missing operator!= for segments X-Git-Tag: llvmorg-11-init~8707 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bd7f2354ccbaa50923b134b223349ae532443aba;p=platform%2Fupstream%2Fllvm.git LiveIntervals: Add missing operator!= for segments llvm-svn: 372449 --- diff --git a/llvm/include/llvm/CodeGen/LiveInterval.h b/llvm/include/llvm/CodeGen/LiveInterval.h index c3b472e..290a238 100644 --- a/llvm/include/llvm/CodeGen/LiveInterval.h +++ b/llvm/include/llvm/CodeGen/LiveInterval.h @@ -189,6 +189,10 @@ namespace llvm { return start == Other.start && end == Other.end; } + bool operator!=(const Segment &Other) const { + return !(*this == Other); + } + void dump() const; };