[llvm-commits] [llvm] r112809 - /llvm/trunk/lib/CodeGen/PBQP/HeuristicBase.h
Chandler Carruth
chandlerc at gmail.com
Thu Sep 2 00:08:06 PDT 2010
Author: chandlerc
Date: Thu Sep 2 02:08:05 2010
New Revision: 112809
URL: http://llvm.org/viewvc/llvm-project?rev=112809&view=rev
Log:
Silence an ambiguous else warning from GCC.
Modified:
llvm/trunk/lib/CodeGen/PBQP/HeuristicBase.h
Modified: llvm/trunk/lib/CodeGen/PBQP/HeuristicBase.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/PBQP/HeuristicBase.h?rev=112809&r1=112808&r2=112809&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/PBQP/HeuristicBase.h (original)
+++ llvm/trunk/lib/CodeGen/PBQP/HeuristicBase.h Thu Sep 2 02:08:05 2010
@@ -173,12 +173,13 @@
bool finished = false;
while (!finished) {
- if (!optimalReduce())
+ if (!optimalReduce()) {
if (impl().heuristicReduce()) {
getSolver().recordRN();
} else {
finished = true;
}
+ }
}
}
More information about the llvm-commits
mailing list