summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2019-09-21 02:37:28 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2019-09-21 02:37:28 +0000
commitbd7f2354ccbaa50923b134b223349ae532443aba (patch)
tree26914434b53cb9cd156ed89c889261f867dfd672
parent6541c7988b83b30b2590ca6b3e23585ae04a02a2 (diff)
downloadbcm5719-llvm-bd7f2354ccbaa50923b134b223349ae532443aba.tar.gz
bcm5719-llvm-bd7f2354ccbaa50923b134b223349ae532443aba.zip
LiveIntervals: Add missing operator!= for segments
llvm-svn: 372449
-rw-r--r--llvm/include/llvm/CodeGen/LiveInterval.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/LiveInterval.h b/llvm/include/llvm/CodeGen/LiveInterval.h
index c3b472e6555..290a2381d9c 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;
};
OpenPOWER on IntegriCloud