mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-23 12:40:17 +00:00
SDep's operator== should compare the Latency field too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61062 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fc953d149f
commit
537add3492
@ -118,7 +118,7 @@ namespace llvm {
|
||||
}
|
||||
|
||||
bool operator==(const SDep &Other) const {
|
||||
if (Dep != Other.Dep) return false;
|
||||
if (Dep != Other.Dep || Latency != Other.Latency) return false;
|
||||
switch (Dep.getInt()) {
|
||||
case Data:
|
||||
case Anti:
|
||||
|
Loading…
Reference in New Issue
Block a user