projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc953d1
)
SDep's operator== should compare the Latency field too.
author
Dan Gohman
<gohman@apple.com>
Tue, 16 Dec 2008 00:47:19 +0000
(
00:47
+0000)
committer
Dan Gohman
<gohman@apple.com>
Tue, 16 Dec 2008 00:47:19 +0000
(
00:47
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61062
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/ScheduleDAG.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/ScheduleDAG.h
b/include/llvm/CodeGen/ScheduleDAG.h
index 4d3b60e59ae4d681a546c93df0f9ce27fc752b62..74e14d34c88079bddb359b1d1f5c705e9e61e115 100644
(file)
--- a/
include/llvm/CodeGen/ScheduleDAG.h
+++ b/
include/llvm/CodeGen/ScheduleDAG.h
@@
-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: