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:
c0c60a9
)
Fix for problem that caused both HUGE and INVALID latencies to be negative
author
Chris Lattner
<sabre@nondot.org>
Mon, 21 Jan 2002 22:42:49 +0000
(22:42 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 21 Jan 2002 22:42:49 +0000
(22:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1513
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Target/TargetSchedInfo.h
patch
|
blob
|
history
diff --git
a/include/llvm/Target/TargetSchedInfo.h
b/include/llvm/Target/TargetSchedInfo.h
index e8908c532a43a71b77a91b9f4a743049cf4e74c4..aea0357e20f0f38cc9243e56bc0d7eabf5140863 100644
(file)
--- a/
include/llvm/Target/TargetSchedInfo.h
+++ b/
include/llvm/Target/TargetSchedInfo.h
@@
-11,7
+11,7
@@
#include <ext/hash_map>
typedef long long cycles_t;
#include <ext/hash_map>
typedef long long cycles_t;
-const cycles_t HUGE_LATENCY = ~((
unsigned long long) 1 << sizeof(cycles_t)-2
);
+const cycles_t HUGE_LATENCY = ~((
long long) 1 << (sizeof(cycles_t)-2)
);
const cycles_t INVALID_LATENCY = -HUGE_LATENCY;
static const unsigned MAX_OPCODE_SIZE = 16;
const cycles_t INVALID_LATENCY = -HUGE_LATENCY;
static const unsigned MAX_OPCODE_SIZE = 16;