aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/PBQP
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-09-06 12:56:52 +0000
committerDuncan Sands <baldrick@free.fr>2009-09-06 12:56:52 +0000
commit18f13c66bfb9cb2116be0f339fa955949dd60dd1 (patch)
treeee4b39eeb994427f8087f9ddc48033c404191fda /lib/CodeGen/PBQP
parentc2d98bc0d682419f09659d94afefd6a6266dd6ee (diff)
downloadexternal_llvm-18f13c66bfb9cb2116be0f339fa955949dd60dd1.zip
external_llvm-18f13c66bfb9cb2116be0f339fa955949dd60dd1.tar.gz
external_llvm-18f13c66bfb9cb2116be0f339fa955949dd60dd1.tar.bz2
Mark more constants unsigned, as warned about by icc (#68).
Patch by Erick Tryzelaar. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81116 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PBQP')
-rw-r--r--lib/CodeGen/PBQP/Heuristics/Briggs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/PBQP/Heuristics/Briggs.h b/lib/CodeGen/PBQP/Heuristics/Briggs.h
index 255ffef..3ac9e70 100644
--- a/lib/CodeGen/PBQP/Heuristics/Briggs.h
+++ b/lib/CodeGen/PBQP/Heuristics/Briggs.h
@@ -118,7 +118,7 @@ class Briggs {
if (!add) {
udTarget = 1;
- dir = -1;
+ dir = ~0;
}
EdgeData &linkEdgeData = g.getEdgeData(edgeItr).getHeuristicData();