summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2010-09-02 07:08:05 +0000
committerChandler Carruth <chandlerc@gmail.com>2010-09-02 07:08:05 +0000
commitd30f8ec11ee0b697c31197978a1f2e7cc0ad63ce (patch)
tree1ef55d6cb702c5cf6645e2d2acbcdc1603aacaf1 /llvm/lib
parent3e19542ed39e3290ec93a331dcefd02ab64f14bd (diff)
downloadbcm5719-llvm-d30f8ec11ee0b697c31197978a1f2e7cc0ad63ce.tar.gz
bcm5719-llvm-d30f8ec11ee0b697c31197978a1f2e7cc0ad63ce.zip
Silence an ambiguous else warning from GCC.
llvm-svn: 112809
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/PBQP/HeuristicBase.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/PBQP/HeuristicBase.h b/llvm/lib/CodeGen/PBQP/HeuristicBase.h
index 37442317bb6..791c227f0d0 100644
--- a/llvm/lib/CodeGen/PBQP/HeuristicBase.h
+++ b/llvm/lib/CodeGen/PBQP/HeuristicBase.h
@@ -173,12 +173,13 @@ namespace PBQP {
bool finished = false;
while (!finished) {
- if (!optimalReduce())
+ if (!optimalReduce()) {
if (impl().heuristicReduce()) {
getSolver().recordRN();
} else {
finished = true;
}
+ }
}
}
OpenPOWER on IntegriCloud