1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00

SDep's operator== should compare the Latency field too.

llvm-svn: 61062
This commit is contained in:
Dan Gohman 2008-12-16 00:47:19 +00:00
parent efb04fd5a6
commit 9ccf4a2a8a

View File

@ -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: