[llvm-commits] [llvm] r53771 - /llvm/trunk/lib/Transforms/Scalar/GVN.cpp
Duncan Sands
baldrick at free.fr
Fri Jul 18 14:06:03 PDT 2008
Author: baldrick
Date: Fri Jul 18 16:06:02 2008
New Revision: 53771
URL: http://llvm.org/viewvc/llvm-project?rev=53771&view=rev
Log:
Supress a gcc-4.3 warning.
Modified:
llvm/trunk/lib/Transforms/Scalar/GVN.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/GVN.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/GVN.cpp?rev=53771&r1=53770&r2=53771&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/GVN.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/GVN.cpp Fri Jul 18 16:06:02 2008
@@ -1138,7 +1138,7 @@
if (EnablePRE) {
bool PREChanged = false;
- while (PREChanged = performPRE(F))
+ while ((PREChanged = performPRE(F)))
changed |= PREChanged;
}
More information about the llvm-commits
mailing list