LiveIntervals: Add missing operator!= for segments
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 21 Sep 2019 02:37:28 +0000 (02:37 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 21 Sep 2019 02:37:28 +0000 (02:37 +0000)
llvm-svn: 372449

llvm/include/llvm/CodeGen/LiveInterval.h

index c3b472e..290a238 100644 (file)
@@ -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;
     };